Re: QuickForm Error message

From: Date: Thu, 02 Mar 2006 10:02:40 +0000
Subject: Re: QuickForm Error message
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-23198@lists.php.net to get a copy of this message
cwhisperer wrote: > I haven't a javascript function for all the other rules, so I do not > understand why I need one for this specific function??? I assume that your "other rules" are all QF internal rules? Then your statement would be true. > The function returns true or false and in the rule I specify the error > msg.... But QF would have to emulate your PHP function to JS function. Without magic this is impossible. Just write a JS function that behaves the same way as your PHP function and you're done. Regards, Mark

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