JavaScript Editor Javascript validator     Web page editor 

constructor HTML_QuickForm_hierselect()

constructor HTML_QuickForm_hierselect() -- Class constructor


require_once 'HTML/QuickForm/hierselect.php';

void constructor HTML_QuickForm_hierselect::HTML_QuickForm_hierselect ([string $elementName = NULL [, string $elementLabel = NULL [, mixed $attributes = NULL [, mixed $separator = NULL]]]])


This package is not documented yet.


string $elementName

(optional)Input field name attribute

Note: If you are displaying several forms on one page, then hierselects in these forms should have unique names. In the other case the values for last hierselect with the same name will overwrite the values for the previous one. It is extremely difficult to cleanly fix this behaviour with current QuickForm architecture, therefore please rely on this workaround. See Request #5718.

string $elementLabel

(optional)Input field label in form

mixed $attributes

(optional)Either a typical HTML attribute string or an associative array.

mixed $separator

String to separate the grouped elements


throws no exceptions thrown


This function can not be called statically.

JavaScript Editor Javascript validator     Web page editor