You are here

Custom form fields

Custom form field types can be added through custom form stencils. A form stencil is based on the default form stencil and can have default form field types removed, reordered, tweaked (changing the name, icon, and so on.) or have new form field types.

Form stencils are defined in the Stencils section of the App Designer. A new form field type consists of the following:

  • An HTML template that is rendered when drag and dropping from the palette on the form canvas is the form builder.

  • An HTML template that is rendered when the form is displayed at run-time.

  • An optional custom AngularJS controller in case custom logic needs to be applied to the form field.

  • An optional list of third party scripts that are needed when working with the form field at run-time.