Home > Articles

📄 Contents

  1. Introduction
  2. Key Goals of XForms
  3. Relationship of XForms to HTML Standard
  4. XForms Implementations
  • Print
  • + Share This
Like this article? We recommend

Relationship of XForms to HTML Standard

The XForms model is the non-visible definition of an XML form as specified by XForms. The XForms model defines the individual model items and constraints and other runtime aspects of XForms.

XForms is constructed to allow developers to have a more generic framework to make forms. A model item is an abstract unit of data-collection within the XForms model, which consists of a XML Schema datatype and possibly other form-specific constraints on a single piece of collected data.

The following table presents a list of form controls that are part of the XForms standard and that are new to forms. These user interface components deal with interactive data entry and display.

XForms UI Component

XHTML Analog




Activation of form events


<input type="text">

Entry of small amounts of text



Inline display of any instance data



Range selection of a value, providing a continuous selection of a value within two extremes


<input type="password">

Entry of sensitive information


<input type="checkbox">

Selection of a true/false value


<select multiple="multiple">

Selection of many options


<select> or <input type="radio">

Selection of one option among several


<input type="submit">

Submission of form data



Entry of large amounts of text


<input type="file">

Upload of file or device data

The interesting form UI component of note is the <upload> element. This allows developers to upload various device data associated to specific media; for example, scanners, digital cameras, microphones, video, etc.

  • + Share This
  • 🔖 Save To Your Account