|
form.inc.php - Form Functions
|
textBox
Required Parameters: string $field, int $size
Optional Parameters: string $value, string $label, string $javaScript
Returns: None
Description: This function generates a HTML form input of type "text" populated by the string in $value. The box is scalable depending on the $size variable, with a name given by the $field variable. If $label is not null, the labelCell() function will automatically generate a two-column table row around the input. An optional JavaScript parameter and call can be specified as a string in the $javaScript variable.
function textBox($field, $size, $value = '', $label = '', $javaScript = '')
|