Edit online

Form Controls

Oxygen XML Editor provides a variety of built-in form controls that allow users to interact with documents with familiar user interface objects. These form controls are defined in CSS stylesheets that are used to render Author mode. For customization purposes, Oxygen XML Editor also supports custom form controls in Java.

How to Add a Built-in Form Control in Author Mode

Form controls can be added by defining them in the CSS associated with the XML document.
  1. Create a custom CSS file.
  2. Define the form control in the CSS using its dedicated CSS function. For example, to add a date picker form control, its dedicated function is oxy_datePicker.
  3. Associate the CSS file with the XML document in one of the following ways:

For more information about form controls, watch our video demonstration: