Validate Multiple TextBoxes using Javascript

Posted by Chvrsri under JavaScript on 11/1/2010 | Points: 10 | Views : 9202 | Status : [Member] [Moderator] [MVP] | Replies : 3
How to validate multiple text boxes using Javascript . ??

i have a requirement of there shouldnt be any duplicate value in the multiple textboxes i use.

The number of textboxes may increase dyanmically so i need in a genric way .

Cheers !!!

Thanks,
Radha Srikanth



Responses

Posted by: Lalji_mer on: 11/1/2010 [Member] Bronze | Points: 25

Up
0
Down
show this link
prevent and check duplicate in javascript textbox value.

http://stackoverflow.com/questions/2955536/prevent-duplicate-values-using-jquery-validation

here find duplicate value using javascript.

http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_23682151.html

LP MER

Chvrsri, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Chvrsri on: 11/1/2010 [Member] [Moderator] [MVP] Silver | Points: 25

Up
0
Down
Thankq but i want validation using Javascript .. the 2nd link is unavaliable since iam not registered user there.

Thanks,
Radha Srikanth

Chvrsri, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: T.saravanan on: 11/1/2010 [Member] [MVP] Silver | Points: 25

Up
0
Down
Hi Srikanth,

Are you show same Error Message for all TextBox means using div (or) table and then to pass that div id (or) table one by one to the condition.

Refer those links....

http://www.daniweb.com/forums/thread204414.html

http://www.webdeveloper.com/forum/showthread.php?t=191853

http://stackoverflow.com/questions/1119495/javascript-multiple-input-textbox-validation

Cheers :)

Thanks,
T.Saravanan

Chvrsri, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response