1000hz / bootstrap-validator

A user-friendly HTML5 form validation jQuery plugin for Bootstrap 3
http://1000hz.github.io/bootstrap-validator
MIT License
2.38k stars 1.07k forks source link

.validator('update') not working #605

Open vshetti opened 6 years ago

vshetti commented 6 years ago

Hello! Following is my code snippet for adding couple of fields dynamically. I have also added .validator('update'). But it isn't working.

$("#button1Id").click(function(){ $("#divInsideFormId").append('filed1-selectoption, field2-datepicker, field3-textbox'); $("#formId").validator('update');
});

I even tried $("#divInsideFormId").append(...).validator('update'); It doesn't work.

Can anyone suggest what's wrong with my code or if I am missing something?