Results 1 to 3 of 3
Thread: Validation for form_remote_tag
Jun 17, 2006, 04:12 #1
- Join Date
- Jun 2005
- Eastbourne, UK
- 0 Post(s)
- 0 Thread(s)
Validation for form_remote_tag
I've just been playing around with some of the builtin ajax capabilities of rails but I've run into a bit of a roadblock.
So far I've got a drag-n-drop sortable list working with a remote form that adds new items and reloads the list so that the new item is sortable. This all works fine up until a user enters something in the remote form that hits a validation rule!
Has anyone worked out a simple way of handling validation errors for ajax requests?
The only solution I've found so far is here: http://www.bigsmoke.us/ajax-validation-on-rails/ but that looks over complicated and not very rubyish