Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Form templates are reusable form elements for use in the other forms. When you make a change in a template, all of the forms using that using template are automatically updated by change.

Form templates also supports support usage of the parameters to use as variables in XPath or script definitions, like show showing a panel when a certain condition is met.

...

  1. Open "Data Model"
  2. Click on "Types" tab.
  3. Click on "Add New Type" button and enter the name field as "PersonType"
  4. Click on "Details" button
  5. Create 2 new field fields by clicking on "Add New Element" button with the following properties;:
    1. Name (string)
    2. Surname (string)
    3. EmailAddress (string)

Create a form template for "Person" model

  1. Click on + button in the form templates
  2. Enter the name field as "Person Template" and select root element as "PersonType" and click to "Ok" button
  3. Template designer will automatically be automatically openopened.
  4. Click to "Add New" from toolbox and select "Row Layout Content" from toolbox. Rename label to the "Person Information"
  5. Click "Column" button from the toolbox, and select 3 column layout. Row content will be split to into 3 column columns side by side.
  6. Click on columns and create a new "Row Layout Content" again for each column.
  7. For each column create a new control for "Name", "Surname", "EmailAddress" fields.

...

  1. Open "Data Model"
  2. Create a new field by using "PersonType" from current schema and name it as "Person".
  3. Open the form you want to add the new "Person" template to
  4. Click to "Add New" button from toolbox and template is will automatically be suggested, like below.