Bas
Junior Member
Posts: 4
Registered: 9/6/2006
Member Is Offline
|
| posted on 9/6/2006 at 11:36 AM |
|
|
Multiple forms possible with non-pro Validator?
I have a page with three separate forms and use the regular (not-pro) version of Form Validator. Although the features-page of the Form Validator
states: ‘Multiple forms per page supported,’ it won’t work.
I placed the appropriate javascript-code right after the </form>-tags and made sure I used unique labels and fields per form, but it validates
only one form at a time (the last one).
Am I making a mistake, or do I indeed need the pro version?
|
|
|
tigra
Administrator
Posts: 1916
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 9/6/2006 at 02:33 PM |
|
|
free version supports multiple forms. Make sure to initialize separate instance of the validator for each form and check for conflicting names (forms,
configuration variables, validator reference etc).
|
|
|
Bas
Junior Member
Posts: 4
Registered: 9/6/2006
Member Is Offline
|
| posted on 9/7/2006 at 02:31 AM |
|
|
Oops!
I forgot to change the variable name in the constructor call and match it with the "onsubmit"-event handler.
It's working now.
|
|
|
Bas
Junior Member
Posts: 4
Registered: 9/6/2006
Member Is Offline
|
| posted on 9/7/2006 at 05:24 AM |
|
|
Cheered to soon. It works on all browsers exept Safari (Mac) and Internet Explorer 6.0 (Windows).
I don't care to much for Safari (Firefox and Camino work fine), but IE is of course crucial. The form is simply not validated and send immediately
after submit.
Is there something I especially can't or must do in order for IE to work properly?
The page with the three forms can be seen here: <http://www.bomenvoorkoeien.nl/2006/donateur.htm> . Each tab is a separate form.
[Edited: link is now working]
|
|
|
Bas
Junior Member
Posts: 4
Registered: 9/6/2006
Member Is Offline
|
| posted on 9/7/2006 at 09:11 AM |
|
|
Sorted it out. I had left a comma at the end of the last o_config settings after cutting and pasting some.
Removed it and IE works!
|
|
|