text Control - genericcontrol Class

The text control places a single line text box in the form.  It uses the genericcontrol class in the forms/controls folder.

The text control accepts several parameters:

  • name (required)
  • id
  • label
  • value
  • size

An example of the text control:

{control type=text name="width" label="Slideshow Width" value=$config.width|default:350 size="5"}
Loading Help