Hi Anas,
I am not sure whether I got you right, but to me it sounds as if you
are trying to use client side form validation. I.e., are you trying to
validate your form data before it is sent back to the server?
In that case, there seems to be a nice Rails plugin called
LiveValidation; it takes your model validations and builts matching
client-side validation scripts in Javascript. See:
http://livevalidation.rubyforge.org/
It''s built on top of the LiveValidation JS library:
http://www.livevalidation.com/
Maybe these meet your needs.
Jan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---