Concept Information
Related Tasks
Adding an Attachment to a Form
Adding a Contributing Policy Section to a Form
Reference Materials
Refreshing Sections in a Form
Presenting a long form with unnecessary fields can be intimidating. RL6 allows forms to be configured in a way that makes them dynamic. Instead of showing every field on the form at the start, you can expose a new section, hide fields or require the completion of others based on the selections made by a user. This allows you to create simple, yet elegant submission forms that change based on the user’s input. In the example below, the Injury Details section will appear when Yes
is selected form the Injury Occurred field.
Prerequisites:The 'Forms' role function must be enabled.
- Refresh Trigger – only list fields can be used to refresh a form. Check the Allow Postback
box in the Field Manager. This auto-refreshed the section in which the field appears.
- Remember: The entire form is not refreshed – just the section in which the field resides. If other sections should be refreshed, you must specify which ones (shown in step three).
- Logic – define conditions that must be met for the other fields/sections to become visible, mandatory or readonly. In this example, the logic has been added in the Form Designer because an entire section is affected. For fields, the logic could reside in the Data Dictionary (Section Properties).
- Refreshing Other Sections – if you wish to display an entire section or manipulate the fields contained in another section, you must make two more changes in the Form Designer:
- ID – give the section to be refreshed a unique ID (Section Properties).
- Extra Sections – type the section IDs, separated by commas, into the Extra Sections field of the field that triggers the refresh (Section Properties).