Re: Re: DB_Table QuickForm rules
| From: | bertrand Gugger | Date: | Thu, 20 Apr 2006 20:18:50 +0000 |
| Subject: | Re: Re: DB_Table QuickForm rules | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23775@lists.php.net to get a copy of this message | ||
Bonsoir,
Mark Wiesemann wrote:
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. I guess lack of knowledge in basic php and code is too.
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. :-( I guess Charlie will help now , as free volunteer , as we are all.Regards -- toggg