prevent Duplicate values using Jquery Validation
Posted
by Yashwant Chavan
on Stack Overflow
See other posts from Stack Overflow
or by Yashwant Chavan
Published on 2010-06-02T06:45:32Z
Indexed on
2010/06/02
9:44 UTC
Read the original article
Hit count: 341
jQuery
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
© Stack Overflow or respective owner