guyInATL
11-02-2004, 08:41 PM
Hi All
I have a .jsp page which pulls up multiple workshops data for editing.
The workshop array is looped and each description, presenter, seats textbox is also looped like
txtPresenter1
txtDesc1
txtSeats1
txtPresenter2
...
i have a 3rd party validation script
that takes in the format
form.addValidation("txtPresenter", required)
form.addValidation("txtDesc", required)
Now is there some way i can loop and construct a validation function for each set of text boxes
or better i am thinking i should have 1 global validation function for each presenter, description and so on but how to implement it ?
Many thanks
R
I have a .jsp page which pulls up multiple workshops data for editing.
The workshop array is looped and each description, presenter, seats textbox is also looped like
txtPresenter1
txtDesc1
txtSeats1
txtPresenter2
...
i have a 3rd party validation script
that takes in the format
form.addValidation("txtPresenter", required)
form.addValidation("txtDesc", required)
Now is there some way i can loop and construct a validation function for each set of text boxes
or better i am thinking i should have 1 global validation function for each presenter, description and so on but how to implement it ?
Many thanks
R