Re: Re: DB_Table QuickForm rules

From: Date: Thu, 20 Apr 2006 13:52:08 +0000
Subject: Re: Re: DB_Table QuickForm rules
References: 1 2 3 4 5 6  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-23770@lists.php.net to get a copy of this message
On 20 Apr 2006, at 15:23, Mark Wiesemann wrote:
But unfortunately still no errors. Even if I add the fourth parameter to it (clientside validation) it will not present me with an alert/confirm message. What I'm doing wrong?
That's not easy to say without having your full code. Please do a var_dump($G_FORM->_rules); after calling addElement() (in QF) and addRules() (in DB_Table_QF). Do you see the rule in the output? If yes, then it's a rendering problem. If not, it's a DB_Table or DB_Table usage problem.
hi Mark, var_dump($G_FORM->_rules); = array(0). so now rules. I give up! I tried a couple of PEAR packages for 5 days now and no luck. Not even one custom form! Lack of documentation is a big BIG problem. But many thanks for all your help!! Regards, - Charlie

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