defaultvalues with /QuickForm/Renderer/QuickHtml.php
| From: | gema | Date: | Wed, 20 Sep 2006 13:55:17 +0000 |
| Subject: | defaultvalues with /QuickForm/Renderer/QuickHtml.php | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-25184@lists.php.net to get a copy of this message | ||
Hello,
I have a page with two forms.
The first one has only a select field with defaultvalue, needs no validation
and is submited by onchange. It uses HTML/QuickForm/Renderer/QuickHtml.php
to render. The defaultvalue is the selected one ok.
The second form nedds validation
If the second form is submited but doesn´t validate because of the rules I
registered, the page is reloaded with the values it is trying to post on the
second form ok.
But the first form, wich was not submited, doesn´t display its defaultValue
!!!
Does anybody know how to make the first form show it´s default vales on this
case?
Thanks
gema