Overview
A Form groups one or more Templates into a view of a Record. Use Forms to organise information around a task or stage in a process. For example, the Compliance Questions App has a Question Form for recording the assessment and a Question Set-Up Form for configuring the question.
In App Studio, you can choose which Templates appear on each Form, set their order and decide when they are visible. You can also pin Templates to the top or bottom of a Form so key information or shortcuts stay visible while users scroll.
In the example below, the Question Form displays the App title, description and icon at the top. The Audit Score banner and question summary are pinned above the scrolling assessment content. A Named Style makes the Field labels larger and bolder.
Contents
- Creating or Editing a Form
- Adding and Arranging Templates
- Configuring a Template on a Form
- Pinning Templates to the Header or Footer
- Controlling Visibility with Form Rules
- Applying Named Styles
- Advanced Configuration
- Saving, Publishing and Testing
- Related Articles
Creating or Editing a Form
- Open the App in App Studio.
- Go to Input & Layout → Forms.
- Select the + beside Forms to create a Form, or select the title of an existing Form to edit it.
In Form Configuration, set the Title and check the Identifier.
| Setting | What it does |
|---|---|
| Title | Sets the name users see in the Record menu on the left in Workspace. |
| Identifier | Uniquely identifies the Form within the App. App Studio generates it from the Title when you create the Form. You can choose a different Identifier during creation. It cannot contain spaces. |
Adding and Arranging Templates
- Expand Form Templates.
- Select Add Template and choose an existing Template from the App that hasn’t already been added to this Form.
- Set the options for this placement and select Ok.
- Use the drag handle to move the Template to the required position. New Templates with Sticky unset or set to Not Sticky are added at the end of the normal Template list.
- To change an existing placement, select the Template’s Title in the list. To remove a placement from the Form, select the × on its row. The Template is still available in the App.
Tip: If you know the order you want, add the Templates in that order to save rearranging them later.
Configuring a Template on a Form
The Add Template and Edit Template dialogs let you configure how a Template appears on this Form. For example, you can show a summary Template on an existing Record and hide it while a new Record is being created.
| Option | What it does |
|---|---|
| Template | Selects the Template to display on the Form. |
| Hide Header? | Hides the Template’s title bar. Use it to keep a pinned summary compact or make adjacent Templates look like one section while controlling their visibility separately. |
| Hidden on Create? | Hides this Template while a user creates a new Record. Use it for content such as results that only becomes useful after the Record has been created. |
| Hidden on Update? | Hides this Template when a user opens an existing Record for update. Use it for instructions that are only needed when creating a Record. |
| Collapsed By Default? | Initially displays the Template’s title bar with its contents collapsed. Users can select the title bar to expand or collapse it. |
| Sticky | Controls whether the Template scrolls with the Form content or stays pinned to its Header or Footer. |
Keep the title bar visible if users need it to expand a Template that starts collapsed.
Pinning Templates to the Header or Footer
A sticky Template stays visible while users scroll through the Form. Use a Header for Record context, such as the company, location, date and auditor on a Compliance Audit.
Use a Footer for shortcuts, such as Deliverables, Priority, Schedule, Actions and Risks on a Project Form.
- Open the Form in App Studio and expand Form Templates.
- Select Add Template and choose a Template, or select the title of a Template already on the Form.
- Under Sticky, select Header to pin it above the scrolling content or Footer to pin it below the scrolling content. Choose Not Sticky or clear the setting to place it in the normal Template order.
- Turn on Hide Header? to keep the pinned area compact if users do not need the Template’s title bar.
- Select Ok and then Save the Form.
Pinned Templates appear under Header Templates or Footer Templates in App Studio. You can pin more than one Template in either position. They stack in the order shown within the group. Use the drag handles to change that order.
Keep pinned content short and check it at the screen widths your users work with. When a row of Fields or shortcuts stacks on a narrow screen, it can take up more vertical space. If a summary repeats values that users edit elsewhere on the Form, you can make the summary Template read-only so users have one place to edit those Fields.
Controlling Visibility with Form Rules
Use Form Rules when visibility depends on Record values, Team membership or both. Leave Target Template blank to apply the Rule to the whole Form. Select a Target Template to apply the Rule to one Template on the Form, including a sticky Template.
For example, the Compliance Questions App has a separate pinned banner Template for each Audit Score. Each Rule hides its target banner when the score does not match, leaving the banner for the current score visible above the question summary.
For setup steps and filter examples, see Form Rules – Form and Template Visibility.
Applying Named Styles
Use Named Styles to apply a reusable style to Fields across a Form. For example, the Bold_Labels style in the Compliance Questions App makes Field labels larger and bolder.
- Open Named Styles on the Form.
- Select Add Named Style.
- Choose the style and the element it should apply to, such as Label.
- Save the Form and check the result in Workspace after publishing.
For help creating reusable styles and applying them at different levels, see Styles.
Advanced Configuration
These settings apply to the whole Form.
| Setting | What it does |
|---|---|
| Hide Form When Adding New Records? | Hides the Form while a user creates a Record. Use it for a review or results Form that is only relevant once the Record exists. |
| Hide Form When Updating Records? | Hides the Form when a user opens an existing Record for update. Use it for a Form intended only for initial data entry. |
| Show App Title On Form? | Displays the configured App title at the top of the Form. The Form’s own Title appears in the Record menu. |
| Show App Description On Form? | Displays the configured App description at the top of the Form. |
| Show App Icon On Form? | Displays the configured App icon at the top of the Form. |
| Show Form as Readonly? | Makes all Fields on the Form read-only. Use it for a view where users need to see Record details without editing them on that Form. |
Saving, Publishing and Testing
Select Save on the Form, then Publish the App when the changes are ready for Workspace. Reload Workspace and open a Record to check the result.
- If you changed create or update visibility, check both a new Record and an existing Record.
- If you added Form Rules, test Records that meet each Rule and Records that don’t. Check with users in the relevant Teams if you configured Team-based visibility.
- If you pinned a Template, scroll through the Form and check that the pinned content stays visible and leaves enough room to work.
Comments
0 comments
Article is closed for comments.