Re: QuickForm::setDefaults
| From: | Tobias Nix | Date: | Tue, 25 Feb 2003 13:08:21 +0000 |
| Subject: | Re: QuickForm::setDefaults | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-4023@lists.php.net to get a copy of this message | ||
setting defaults at any place just leaves it more flexible, so i could build the form first and set default values afterwards ... it's just the way i programmed the logic now, it might be a different/strange case but i think it would make sense too, just to leave it as flexible as possible.I ve got the same 'problem' here. Would be very nice, if its possible to set the default at any place. Also a $form->setValues($elementArr, $valuesArr) function would be nice;) Tobias.