Re: Re: HTML Quickform Filter

From: Date: Mon, 10 Jul 2006 16:12:51 +0000
Subject: Re: Re: HTML Quickform Filter
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-24611@lists.php.net to get a copy of this message
Okay I suppose this would also the apply to the addrule feature also? Thank you. Will test this now. Regards Ian Warner Director Triangle Solutions Ltd http://www.triangle-solutions.com/ Skype: TAG: iwarner_uk <callto:iwarner_uk> TEL: +44 (207) 7871 2394 <callto:+4420778712394> Japan: TEL: +81 (3) 5261 5572 <callto:+81352615572> FAX: +81 (3) 5261 5572 <callto:+81352615572> MOB: +81 (90) 9312 1341 <callto:+819093121341> UK: TEL: +44 (1342) 311 923 <callto:+441342311923> MOB: +44 (7980) 615 878 <callto:+447980615878> ©2000-2006 Triangle Solutions Ltd. - All rights reserved Mark Wiesemann wrote:
Ian Warner wrote:
Is there a shortcut for doing this: Do I need to use the grouping? $form->applyFilter('username', 'trim'); $form->applyFilter('password', 'trim'); $form->applyFilter('first_name', 'trim'); $form->applyFilter('surname', 'trim');
    
You could use an array (of the element names) as the first argument. Regards, Mark


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