Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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

Defining a New Form Template

To create a form template, you need to create data model type first.

Create a data model type for "Person"

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

Create a form template for "Person" model

  1. Click on + button in form templates
  2. Enter name field as "Person Template" and select root element as "PersonType" and click to "Ok" button
  3. Template designer will be automatically open.
  4. Click to "Add New" from toolbox and select "Row Layout Content" from toolbox. Rename label to "Person Information"
  5. Click "Column" button from toolbox and select 3 column layout. Row content will be split to 3 column 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.

Final template should be look like this

Using Template In a Form

  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 new "Person" template
  4. Click to "Add New" button from toolbox and template is automatically suggested like below.



  • No labels