html:type

DSP widget property that sets the type attribute of the HTML input element that is bound to the widget. Any type supported by the HTML standard is allowed. If a browser does not support a given type, the text type is used.

html:type=HtmlControlType

Example: "html:type=date"

Values

HtmlControlType—valid value for the type attribute of the HTML input element. Valid values include:

  • button
  • checkbox
  • color
  • date
  • datetime
  • datetime-local
  • email
  • hidden
  • month
  • number
  • password
  • range
  • search
  • tel
  • text
  • time
  • url
  • week

For more information, refer to HTML reference information available on the web, such as that provided by MDN: input.

Usage

Dynamic?

Yes

Dependencies:

Supported types depend on the browser

Description

The html:type property determines the HTML control used to represent that data. For more information, see Widgets for Dynamic Server Pages.

Applies To

  • All DSP widgets