By drup4u on
Hi everybody,
I am new in drupal and i am using drupal 5.
I have built a drupal module.
In this module i have add a menu link, when i click on the menu link, a from will be appeared.
In this from i have written some code for creating a html form.
Now i want to add a validation for each filed.
I want to use the jquery filed validation.
How can i use/implement it?
Can any one help me?
Thanks
Palash
Comments
Filed Validation using jquery
Form_validate using this you can validate the form using php code it is very easy
If you need jquery means you initialize the jquery in hoo_init function in your module and call the java script function in #attribute in form attributes in Drupal
Thanks
Dear roger,
Thanks for your reply... It is very much help full.
Thanks a lot
You might also look here:
You might also look here: http://jquery.malsup.com/form/ or at jquery.com for form validation plugins.