- 02 Jun 2021
- 1 Minute to read
- Print
- DarkLight
Adding a Timeline to a Series of Forms
- Updated on 02 Jun 2021
- 1 Minute to read
- Print
- DarkLight
Overview
A timeline is a helpful feature to show on a Form when a series of Forms need to be filled out by a user.
Example
A timeline keeps the user informed about what steps in a submission process have been completed or which steps are next; this example shows a timeline set up for a request process.
- First, create a Form by selecting CREATE FORM from the bottom action panel while in a Designer Folder.
- Name the Form and proceed to the Form Designer by clicking CREATE.
- In the Form Controls tab on the left side, search for Horizontal Timeline or expand the Form Controls > Data category to drag a Horizontal Timeline to the workspace.
With the Horizontal Timeline selected, change the INPUT > Source to DefineStates in the Properties panel.
Change the boolean Is Static from false to true.
Input New Request, Applicant Status, and Terms and Conditions under INPUT > States.
Next, INPUT > Current State will be New Request. The Current State refers to the step in the submission process the user is currently on; the Current State on the Form will be highlighted in the Horizontal Timeline.
A Label [Request Name], Text Box, and a Button [Next] will be added to the Form [First Form].
Next, Save and Close the Form [First Form].
Create a second Form [Second Form] using the previous steps.
When adding the Horizontal Timeline feature, as shown above, the INPUT > States will remain the same.
On this Form [Second Form], the INPUT > Current State will be Applicant Status.
A Label [Email Address], Text Box, and a Button [Next] will be added.
Save and Close.
- Create the third Form [Third Form] using the previous steps.
- When adding the Horizontal Timeline feature, the INPUT > States are the same as above.
- INPUT > Current State will be Terms and Conditions.
- A Check Box [I Agree] and a Button [Finish] will be added.
- Save and Close.
- In the Designer Folder, select CREATE FLOW from the bottom action bar to create a new Flow that will display the recently created Forms.
- In the new Flow, add three Add Task steps from Steps > Favorite Steps.
- On each Add Task step, select Pick or Create Form. Select each new Form and order them chronologically.
- Connect last Form [Third Form] to the End step.
- Set the Inputs on each Form to an Ignore mapping.
Debug
- Save and select Debug from the Top Action Panel.
- Click FULL.
- Input a Request Name and select Next. On the first Form, type 'Vacation'.
- Next, input an Email Address and select Next. On the second Form, type "admin@decisions.com".
- Lastly, change the boolean I Agree from false to true and click Finish.
- The Flow runs through the Debugger successfully.