What if you try
ignore: ":hidden"
Guys iam working with a project.
iam using native-validations-master downloaded it from net.
to perform validation i need to attach the form-validation.js file in my project and then,
in my form
document.getElementById('experience_form').validateForm();
//where experience_form is my form name and validateForm is function name in the validation js file
my problem is i have hidden input fields in this form. those also validated so that i cant subit the form.
if that input fields are visible then only it must be validated. how to do that?
i searched in net and did this
document.getElementById('experience_form').validateForm(
{
ignore: "#hidden"
}
);
but not worked.
i referred in net but most of the solutions are based on jquery
what can i do
Kindly some one help please..
@ABDULBAZITH - Can you link to the validation package you're using? Also, you could probably just use a different validation package if this one isn't doing everything you need it to...of course that could be easier said than done if the current one is used throughout a large project
Please or to participate in this conversation.