Problem validating dynamically added fieldset using unobtrusive | dynamically added fields not working

After dwelling with time for 2-3 hrs finally got the solution for validation not working for dynamically added inputs. Thought of sharing with you guys.

Once u done with the adding the fields dynamically, to get it validated use

$(“form”).removeData(“validator”);
$(“form”).removeData(“unobtrusiveValidation”);
$.validator.unobtrusive.parse(“form”);

suri

I Am suresh(suresh kumar )a Web developer,Freelancer,webdesigner,UI developer from bangalore. Got 6+ yrs of IT experience . I specialize in standards-based XHTML, CSS and JavaScript web development. Each site I develop is built to be search engine friendly (SEO), using the latest development principles and techniques.

You may also like...

Add Comment Register



Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>