prevent Duplicate values using Jquery Validation
- by Yashwant Chavan
I have form and form text field which generates dynamically using JSP.
And I using Jquery validation but want to add functionlaty to prevent duplicate entry in the form.
E.g.
<form name="myForm" id="myForm">
<input type="text" name="text1" id="text1">
<input type="text" name="text2" id="text2">
<input type="text" name="text3" id="text3">
=
=
N number of form fields
<input type="text" name="textn" id="textn">
</form>
I want to check if there is any duplicate value entered in the textfield using jquery validation.
Thanks