Menu
Hi,
I am displaying data dynamically from a database the user has to put numbers in the textfields from 1 to N (it’s like a survey or vote) :
textfield1 — caseId — title
textfield2 — caseId — title
textfield3 — caseId — title
……
textfieldN — caseId — title
I want to validate :
1)a number can not duplicated, for example the user cannot input :
textfield1 = 2
textfield2 = 2
I need a javascript that prevent the user from entering duplicated numbers.
thanks your help is appreciated.