17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1316 Views |
-
Form validation problem

5 February 2008 at 9:48pm
Hi,
I want to validate a large form. Quiet easy with requiredfields etc, but the problem is it can only be validate on a certain action. I have got one save button and a save & sent button. The validation must only takes place when you click on the save & sent button. Is this possible? It now validates on every submit of both buttons. I just want a validation on the save & sent button.
Thx in advance.
-
Re: Form validation problem

7 February 2008 at 9:22am
currently the validator isn't as versatile as we'd like it to be, so you have to override Validator::includeJavascriptValidation() and change to a conditional onsubmit handler
| 1316 Views | ||
|
Page:
1
|
Go to Top |


