Pear Quickform + Client side validation

From: Date: Fri, 26 Dec 2008 21:29:27 +0000
Subject: Pear Quickform + Client side validation
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-29536@lists.php.net to get a copy of this message
I was just curious if anyone had some tutorials/references/advice for implementing client side authentication with quickform. I know it already comes with client side authentication, but it seems like it is lacking a few key features. Typically, when I write client validation for web-forms -- I like to highlight the area that caused validation to fail (or place an asterisk). 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. Any advice? Thanks in advance, Adam

« previous php.pear.general (#29536) next »