views:

43

answers:

1

I am using the Jquery form plugin to submit the form via ajax. I have set up validations on the server side in my models. Now when the validation fails i want to display the same flash[:error] message to the user using ajax. If the validation succeeds I can display the flash[:notice] as it is available after the request is completed. How do i go about displaying flash[:error]?

A: 

I found this.

http://wiki.github.com/augustl/live-validations/

If anyone has a better solution please do post and i will accept it.

Shripad K