Re: QuickForm w/Smarty: Defaults render when form has error
| From: | Tim W | Date: | Sat, 03 Jan 2004 18:59:23 +0000 |
| Subject: | Re: QuickForm w/Smarty: Defaults render when form has error | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-9935@lists.php.net to get a copy of this message | ||
> I'm using HTML_QuickForm in combo with HTML_QuickForm_Renderer_ArraySmarty
> to handle a sign-up form.
>
> I'm down to my last element -- a simple two item radio group -- and I'm
> having quite a bit of trouble with it. I finally have it rendering the way
> I'd like (when the form first loads), but there's a problem with the
default
> value always rendering as selected when there's an error elsewhere on the
> form. The end result is that on a form error, both items come back
selected
> when the form is rendered.
Hi again everyone,
I wanted to repost this problem that I'm having and ask one more time if
anyone has seen this kind of problem before? I looked back through the
archives again and found some comments from Bertrand that talked about a
scenario where using integer array keys can mess up the default values
function, but that's all I found.
If you have any ideas at all on what I could do to try and fix this, I would
be grateful for your help. <feeling the pressure of the deadline
fast-approaching!!>
Thank you.
Tim