Form widgets

inputline(), textarea(), checkbox() and radiobox() create their HTML equivalents. fileform() creates a file upload widget, a field for the mime type and original file name can also be specified. select() creates a pop-up-menue.

inputline ()

void widget_set::inputline ($name, $val, $size);
        

Generates an inputline for field $fieldname, max. $length characters wide. A $label is optional.

password ()

void widget_set::password ($name, $val, $size);
        

Like inputline () but the user input is not shown on screen.

textarea ()

void widget_set::textarea ($name, $cols, $rows, $val);
        

checkbox ()

void widget_set::checkbox ($name, $val, $current_val);
        

radiobox ()

void widget_set::radiobox ($name, $label_true, $label_false, $label = '');
        

select ()

void widget_set::select ($name, $current_val, $options);
        

fileform ()

void widget_set::fileform ($name)
        

The file upload widget allows you to store the file in field $fieldname, the mime type in field $typefield and the file name in field $namefield.

hidden ()

void widget_set::hidden ($name, $val);