HTML_QuickForm_element::setValue()

HTML_QuickForm_element::setValue() – Sets the value of the form element

Synopsis

require_once 'HTML/QuickForm/element.php';

void HTML_QuickForm_element::setValue ( mixed $value )

Description

This sets the display value for the element. It can be different from its submit value.

Parameter

mixed $value

Default value of the form element

Throws

throws no exceptions thrown

See

see getValue().

Note

since 1.0

This function can not be called statically.

Sets whether element value should persist on freeze (Previous) Unfreezes the element (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.