2.8.4. Component reference

OPT has a small set of predefined components that demonstrate, how to use this feature. In the real application, you should write your own components or install Open Power Forms library. All the components treat main component tag parameters as HTML attributes and {param} tag parameters as additional settings:

  1. message - if defined, the onMessage event is activated and the specified message is displayed.
  2. selected - for lists only: overwrites the currently selected element ID set by the {listItem} tag.

If it is a list, it makes use of the datasource parameter and listItem tag. All of them have also a message onMessage.

The following components are implemented in OPT by default:

  1. selectComponent - HTML select list.
  2. textInputComponent - HTML input component.
  3. textLabelComponent - static text with a hidden form field.
  4. formActionsComponent - form action buttons.