You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to PeepCode
When I attempt to submit s form with incomplete data set it returns a
set of flash messages, which are subsequently displayed in the
error_message div (i'm actually using message_block plugin for that).
I am now in the process of adding some ajax support (via prototype and
lowpro) but am unsure of how to handle the flash messages when my
ajax request fails.
I could write some JS to render the error messages but was wondering
whether there was a best practice or a library out there that people
use.....i'm sure it's a common problem.