Home > For Designers > Streams > Stream Details > Stream Definition > Forms

Forms

Forms are used to present information to users from stream data records, to collect information to be stored in those records--for example, when a user completes a task. (Forms are also used to generate document templates. Such forms might never appear in any user's interface.)

 

A default form is created for the first data component defined in the stream, for entering and displaying data. That form appears in the line list of stream components that appears in the Stream Definition, and it can be edited. For subsequent data component, a default form is also used, until a new form is defined to take its place. However, the default form does not appear in the component list. To replace it, create a new form, specifying the data component to use as its basis.

 

Editing a Form

Attributes of a Form

  1. Data Component - Each form is based on a data component. Fields from that data component can be displayed and modified. Fields from other data components can be displayed, but they are read-only cannot be modified.
  2. Layouts - A form can have a separate mobile and web layouts. Typically a common layout will serve the needs of both form factors.
  3. Pages - Each form can have one or more pages. A page appears as a "tab" at run time.
  4. Sections - Each page in the form has one or more sections.
  5. Information Asset - Add inline help, images, and links to the form, to assist the user when filling it out.
  6. Fields - Each Section holds one or more fields.
    • Fields from the main data component are editable, by default by can be hidden, or made read-only.
    • Fields added from other data components are made read-only, and are always visible.

Pages

In the sidebar at the left, click on New Page to create an additional tab in the form, or click on an existing Page to edit that part of the form.

Fields

 

Fields are added to the form by clicking the Add Fields button, and then dragging them into the form.

 

Certain fields present can be displayed in multiple ways. When a field is dragged onto a form, an option called Display Type is visible in the ensuing dialog. Here are some of the key display types:

  1. An Image Attachments field can be used for Photos, a Sketch Pad, or a Signature in the form.
  2. An Enumeration field can be specified as single-select or multi-select in the form.

Learn more: Field Types

 

Field Characteristics 

Field characteristics include:

Form Controls

In addition to fields, a form has one more controls that are accessed by clicking the Add Controls button, and then dragging them into the form:

Form Operations

When editing a form, click the gear icon next to the form title to perform one of several operations:

Pre-Submit Rules

A pre-submit rules carry out an action before a record is submitted to the system. A pre-submit rule can operate unconditionally, or you can specify one or more conditions. The easiest way to specify those condition is create a list of fields and their comparison values, and specify that action occurs either when all of the comparisons are true, or when any of them are true.

 

For the action that is taken, you can choose to:

Form Settings

 
 

 

See Also

 

Invoking a Form from Other Applications