• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

validations in javascript ( URGENT )

 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI ALL,
i wannt to do a few validations on the value of input fields.
these input fields are in jsp page and the nameis generated dynamcally inside a forloop.
for eg:
<input type ="text name="text1">
<input type ="text name="text2">
where the names "text1" and "text2" are generated dynamically..
the number of input fields also varies.
what i want to validate is the value of these input fields shud not be the same..
i.e. no two input fields shud have the same valeu.
how doi go abt doing this when i do not know the number of text fields and how doi compare eachvalue with all the other values..???
PLEASE REPLY SOON
THIS IS AN SOS
thanx to all in advance..
Chhaya
reply
    Bookmark Topic Watch Topic
  • New Topic