PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTML » HTML_QuickForm » Bug #2516

submit button is not "Frozen" in Sample Flexy Dynamic Template

Details

Submitted2004-10-12 19:54 UTC
Fromjesse dot planck at gmail dot com
StatusBogus
PackageHTML_QuickForm
PHP VersionIrrelevant
OSIrrelevant
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.