Re: Pear Quickform + Client side validation
| From: | Christian Weiske | Date: | Fri, 26 Dec 2008 21:50:24 +0000 |
| Subject: | Re: Pear Quickform + Client side validation | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-29537@lists.php.net to get a copy of this message | ||
Hello Adam,
> By default -- quickform validation just displays a javascript alert
> box when validation fails. I would like to add something more
> descriptive. If quickform would pass the form object -- rather than
> the form value to the client for authentication -- it would be
> possible to write custom callback validation functions; however, it
> seems like it only passes the value.
This is not possible with stock quickform - you need to hack yourself
in.
--
Regards/Mit freundlichen Grüßen
Christian Weiske
-= Geeking around in the name of science since 1982 =-
Attachment: [application/pgp-signature] signature.asc
Attachment: [application/pgp-signature] signature.asc