QF: Add javascript validation using addFormRule?
| From: | Tommy Ipsen | Date: | Fri, 16 Apr 2004 23:38:11 +0000 |
| Subject: | QF: Add javascript validation using addFormRule? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-11923@lists.php.net to get a copy of this message | ||
Hi
I need a custom validation rule involving two separate form fields which is not a problem if I do server side validation using addFormRule() with my custom PHP validation function as callback. Is it somehow possible to add custom client side scripting?
If I have both the custom php function as well as the custom javascript function - how can I add both of these to the existing form validation rules?
Cheers, Tommy Ipsen