Dear All,

First of all the links to sample pages. First working sample:
http://www.torli.pl/valid/index-val.php

and (if someone want use this mix):
http://www.torli.pl/valid/valid.zip

Description (how i want it to work):
1. there are two tabs: tab #1 is enabled, tab #2 id disabled.
2. there are separate forms in two tabs
3. when the user fill the value in Field 1 in tab #1 and push Submit
button, tab #2 become enabled and triggered
4. if user leave empty Field 1 or for some reason validation of form1
in Tab #1 will be unsuccessfull then the warning message will show up,
form submit fails and tab #2 remain disabled

What is wrong:
the validation is working, because the message for Field1 validation
is displaying, but i can't figure out why the form is submited and
tab#2 enabled and triggered, when validation for Form1 in Tab1 is
unsuccessfull.

Thanks for any help or suggestions.
Best regards
Sławek

Reply via email to