Hi Guys, Im trying to do a client side form validation using the jquery.validate.js plugin.
This is what i tried.
Everything works perfect!
But since im programming under rails my html gets generated in way where the input tag looks like this,
If i change the name back to name="data" my rails functionality gets affected.
So i modified the script like this
Apart from name is there anyother selector for which rules and messages can be set? Any takers ?
There is only one thing which god lacks, and that is existence!!
Joined: Nov 08, 2001
You need to use quotes around your element name because user[data] is saying store this in an array called user at index data.