Pengman2
Junior Member
Posts: 4
Registered: 9/29/2009
Location: UK
Member Is Offline
|
| posted on 9/29/2009 at 01:32 PM |
|
|
Multiple Forms
Tigra Form Validator allegedly supports multiple forms. The documentation says you need to set up multiple constructor calls, one for each form on the
page. I've done this for a two form page, but when I try and validate the first form, the validator uses the second constructor call for the second
form (i.e. the one at the bottom of the page, just above the body tag), not the first constructor call placed above it.
The two forms both have different fields, but presumably the validator should cope with this if each constructor call is set up for its respective
form.
I've checked the form names, and they're both different and each constructor call references to the correct form name. And I've also tried amending
'a_fields' and 'o_config' to 'b_fields' and 'c_config' respectively in one of the forms.
Anyone any ideas?
|
|
|
Pengman2
Junior Member
Posts: 4
Registered: 9/29/2009
Location: UK
Member Is Offline
|
| posted on 9/29/2009 at 03:30 PM |
|
|
Problem solved! I was using the same event handler and variable 'v' for both forms. I altered them to 'v2' for one of the forms and everything
works OK now.
|
|
|