setTextareaHeight
Sets the textarea height for a field
void setTextareaHeight ( String fieldName, int size )
This function should be used where the known input text will most likely be longer (than for a regular text field)
eg a "Description" field or a field to input HTML.
This function automatically sets a field to use a textarea for editing / adding
Details
| Type |
function |
| Returns |
void |
| Default |
input box |
Parameters
- fieldName
- The field name which will use a textarea input to handle the user data
- size
- The height (in pixels) of the textarea
Example
$tblDemo->setTextareaHeight('fldLongField', 200);