Overview

JForms overview

The top element of every JForm is a form object. The form object, besides own properties, may declare child elements of other types like fields, actions etc. There can only be one form element per JSON form file.

What kind of elements can be declared inside JForms?

Element types

Fields

A field is an element used to display and/or enter data. It may containa a label, own actions or child elements. The following fields are implemented as JForm elements:

  • plain input/output
  • checkbox
  • table
Actions

A set of actions may be declared on form that will be rendered as buttons on the form. The action may run perform different tasks like running APIs, displaying other forms etc.

Events

There are a few event types implemented that may be used to run an action when the specified event occurs.

Components

There are a few elements that have special usage:

  • LiveSearch: auto-complete feature for input fields
  • Graphical signature
  • BarCode scanner
  • BankID (Sweden only)