I am using jquery validation plugin. I have an ‘add file field’ button which will add new file fields dynamically on click. I want to validate these fields on submit. How can I do this ? Please help..
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You have to use jQuery’s live or delegate methods
http://api.jquery.com/live/
to bind the inputs created with a new validation rule.
E.g. (untested)