Re: Re: DB_Table QuickForm rules
| From: | Mark Wiesemann | Date: | Thu, 20 Apr 2006 15:04:03 +0000 |
| Subject: | Re: Re: DB_Table QuickForm rules | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23771@lists.php.net to get a copy of this message | ||
Charlie van de Kerkhof wrote:
> var_dump($G_FORM->_rules); = array(0). so now rules.
You might want to give this a last try:
DB_Table_QuickForm::addRules($G_FORM, 'title' => $oBet->col['title']);
(that's what I meant with the restriction, in your code line the key got
lost but it is needed to find the right QF field)
And, as I said before, it is not easy to say where the problem is when I
can't test and debug the code.
> 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.
Right, it is a problem. And anybody is invited to help improving this
situation. There were three or four people that offered help with
documentating DB_Table (or better said: updating the current docs in
Paul's wiki, moving to the contents to PEAR's manual), but I never heard
anything from them again. :-(
Regards,
Mark