QuickForm Error message
| From: | cwhisperer | Date: | Thu, 02 Mar 2006 07:35:18 +0000 |
| Subject: | QuickForm Error message | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-23191@lists.php.net to get a copy of this message | ||
Hi,
I registered a new rule as well as new function and added the rule as shown in the following snippet:
$form->registerRule('chk_reseller_id','function','reseller_id');
$form->addRule('txtreseller','Invalid ResellerID!','chk_reseller_id',null,'client');
It works correct except for the error message which is not shown as javascript alert but in the form.
What is wrong?
Regards
A.