Creating page level branches
XFP forms can have different user journeys setup through them.
To create a new branch within your form drag the page onto the form structure diagram and drop the page over a 'Add as a branch from [page title]' drop zone.
After you've given the page a title and some optional instructions text, click Next.
You will now be shown the page branching rules setup screen, choose one or more when conditions and click Save to setup the new branch.
All paths through the form will end at the review page to allow the customer to review their responses before submitting.
Page level branching conditions
When setting the condition in the branching rule you can choose to branch on any question that has been answered on any page prior to the point in the structure that you are inserting the branching rule. Alternatively, you can branch on:
- the value of a form logic
- the current day, time or date
- whether a particular page has been visited
- whether the submission is being made by a signed in customer, anonymous customer or administrator
- the submission channel
Execution order of branching rules
Branching rules are executed in the order they were created. With the first rule created evaluated first, if the conditons are matched that rule is executed. In the form structure diagram this will be the rule at the bottom of the branching rule list. Effectively evaluation is run bottom up as seen in the form structure diagram.