Home » HTML » HTML_QuickForm » Bug #2516
submit button is not "Frozen" in Sample Flexy Dynamic Template
Details
| Submitted | 2004-10-12 19:54 UTC |
|---|---|
| From | jesse dot planck at gmail dot com |
| Status | Bogus |
| Package | HTML_QuickForm |
| PHP Version | Irrelevant |
| OS | Irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2004-10-12 19:54 UTC] jesse dot planck at gmail dot com
Description:
------------
I just noticed that if you submit the Flexy Dynamic
rendering sample, the submit button is still visible.
The submit button object appears to have an empty
"frozen" value. ( I simplified the included code)
{if:elem.isButton()} ...
{if:elem.notFrozen()} ...
{elem.html:h}
{end:}
{end:}
Of course you can simply check the form state with:
{if:elem.isButton()} ...
{if:form.notFrozen()} ...
{elem.html:h}
{end:}
{end:}
Just wanted you to be aware incase the button should
pass a "frozen" value.