HTML_QuickForm::freeze() – "Freezes" the form's elements


require_once 'HTML/QuickForm.php';

void HTML_QuickForm::freeze ( mixed $elementList = null )


Freezes the elements: elements' values will be displayed without HTML input tags.


mixed $elementList

array or string of element(s) to be frozen. If NULL then all the form's elements will be frozen.


Possible PEAR_Error values
Error code Error message Reason Solution
QUICKFORM_NONEXIST_ELEMENT Element '$element' does not exist in HTML_QuickForm::freeze() Tried to freeze a non-existant element Check the element's name spelling


since 1.0

This function can not be called statically.

Form customization and output helpers (Previous) Checks whether the element is frozen (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.