Topics

textarea Control - texteditorcontrol Class

The textarea control places a multi-line text box in the form.  It uses the texteditorcontrol class in the forms/controls folder.

The textare control accepts several parameters:

  • name (required)
  • id
  • module
  • rows
  • cols
  • label
  • maxchars
  • default
  • disabled
  • required
  • tabindex
  • class
  • accesskey

An example of the textarea control:

{control type=textarea cols="80" rows=20 name=body label="Code Snippet" value=$record->body}
Loading Help