{"action":"opened","issue":{"url":"https://api.github.com/repos/victorjonsson/jQuery-Form-Validator/issues/336","labels_url":"https://api.github.com/repos/victorjonsson/jQuery-Form-Validator/issues/336/labels{/name}","comments_url":"https://api.github.com/repos/victorjonsson/jQuery-Form-Validator/issues/336/comments","events_url":"https://api.github.com/repos/victorjonsson/jQuery-Form-Validator/issues/336/events","html_url":"https://github.com/victorjonsson/jQuery-Form-Validator/issues/336","id":114928362,"number":336,"title":"dynamically add input fields to form","user":{"login":"nicekiwi","id":738975,"avatar_url":"https://avatars.githubusercontent.com/u/738975?v=3","gravatar_id":"","url":"https://api.github.com/users/nicekiwi","html_url":"https://github.com/nicekiwi","followers_url":"https://api.github.com/users/nicekiwi/followers","following_url":"https://api.github.com/users/nicekiwi/following{/other_user}","gists_url":"https://api.github.com/users/nicekiwi/gists{/gist_id}","starred_url":"https://api.github.com/users/nicekiwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicekiwi/subscriptions","organizations_url":"https://api.github.com/users/nicekiwi/orgs","repos_url":"https://api.github.com/users/nicekiwi/repos","events_url":"https://api.github.com/users/nicekiwi/events{/privacy}","received_events_url":"https://api.github.com/users/nicekiwi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-03T22:48:30Z","updated_at":"2015-11-03T22:48:30Z","closed_at":null,"body":"I want to dynamically add some password fields to the form check a checkbox is checked.\r\n\r\nI've written the code to do it, BUT I need to have formvalidator recognize the inputs to validate the rules on them. \r\n\r\nI run $.validate(); again to refresh the form and its recognized, but any options added to the original validator function are wiped. so if I have a onSuccess setup, it will no longer run when the form submits. \r\n\r\nDo i have to re-apply all the previous options on the new $.validate() to make it work? Or is there another way?"}}