input

Please see Core Concepts - Form for an in-depth discussion about this tag.

Parameters

Apart from the parameters listed below, any parameters given to this tag will be passed on unchanged to the HTML tag generated by it.

  • name
  • type
  • id
  • required
  • validator
  • validator_msg
  • separator
  • val_separator
  • opt_values
  • opt_selected
  • width
  • height
  • style
  • format
  • reload_text

name

Name of the input. This parameter is mandatory.

type

Type of the input. Valid values are -

  • text
  • password
  • submit
  • hidden
  • textarea
  • radio
  • checkbox
  • dropdown
  • captcha

Please see Core Concepts - Form for details about these types.

id

Id of the input.

required

Set this to '1' to make this field mandatory.

validator

The input tag shares this parameter with the editable tag. Please see the validators section of editable tag for a list of all the validators that can be used.

validator_msg

The input tag shares this parameter with the editable tag. Please see the validators section of editable tag for a description of this parameter.

separator

val_separator

opt_values

opt_selected

The separator, val_separator, opt_values and opt_selected parameters are valid for only radio, checkbox and dropdown input types.
The input tag shares these parameters with the editable tag. Please see the parameters of radio, checkbox and dropdown types of editable regions for details of these.

width

Width in pixels.

height

Height in pixels.

style

Inline CSS styling.

format

reload_text

The format and reload_text parameters pertain exclusively to input of captcha type. Please see Core Concepts - Form where the captcha type of input, along with its parameters, is described in detail.

Variables

This tag does not set any variables of its own.