Re: quickform - client side validation problem
| From: | Alexey Borzov | Date: | Wed, 29 Oct 2003 20:39:51 +0000 |
| Subject: | Re: quickform - client side validation problem | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-23124@lists.php.net to get a copy of this message | ||
Hi!
Hodicska Gergely wrote:
I tried to use the QuickForm class. It is great, but I found a little bug in the client side validation. The required rule doesn't work on radio button, because you check the value property on validation instead of checked, and this property always have value if it was given. And another problem was: if you use rule on a select with the force possibility it doesn't work on client side. I made a little change on the getValidationScript function, you should try it.Could you make a patch against current CVS of QuickForm? There were lots of validation-related changes made since last release.
p.s.: I sent this mail to the authors of the class earlier, but I didn't get any answer. It's better to post such stuff as bug report on pear.php.net, it will be much more difficult to ignore (or lose) it this way. ;]