[validationEngine][jQuery] Validating Dynamic forms

arabfort

New Member
\[code\]jQuery(document).ready(function(){$("#submitButton").click(function () { if ( $("#formToSubmit").validationEngine('validate') == true) { $("#formToSubmit").submit(); }});\[/code\]I am using the Validation Engine plugin for jQuery to validate forms on my site. I have a form that can get more text fields with the click of a button (js). The problem is once those fields are added they are not validated when content is typed and the user moves onto the next field, but after the user clicks submit. I want to know id there is a way to work around this and make the check dynamic again (checks as you fill it). above is the code for the init. please give me an idea on how to make it work.
 
Top