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”);
Latest posts
- bootstrap popover | bootstrap popover hide on click | bootstrap popover hide on document.click
- Avoid console errors in browsers that lack a console | HTML5 boilerplate
- getting started with Sublime editor | how to install zen coding | zen coding for sublime editor
- getting started with backbone | Models in Backbone
- How to delete a model in backbone






