View Full Version : validating a dynamic form

02-22-2007, 10:08 AM
Hi guys,

I have a complex dynamic form, consisting of radio, input boxes, checkboxes and drop downs. they all have individual names, however some form attributes appear more than once depending on which options are chosen in the form.

i am finding it difficult to validate this dynamic form, and i think it is because of this. does anyone have ny ideas as the best way to validate a dynami form?

thanks in advance.

02-22-2007, 12:28 PM
form elements are recorded in an array accessed by


this array may be examinined to collect unique names.

verification may be carried out on each of these names dependent on the element type.

If an element type has more than one verification criteria the verification type my be specified in the element attributes, the class name is is good as it can contain more than one class rule(separated by a space).

02-22-2007, 02:02 PM
i dont suppose you have an example that i could work off, i'm not a brilliant javascript programmer.