Skip to content

Go to page

lallysmbc edited this page Aug 18, 2020 · 2 revisions

Go to page

This behavior type allows you to navigate the user to another page of the form.

behaviourType is set to GoToPage

PageSlug is the target page the user will be routed to.

Conditions are optional and are only required if this behavior requires specified conditions before it is used.

NOTE: You can have multiple conditions of different types

Example

      "Behaviours": [
        {
          "conditions": [],
          "behaviourType": "GoToPage",
          "PageSlug": "page-two"
        }
      ]

Example with conditions

      "Behaviours": [
        {
          "conditions": [
           {
             "conditionType": "EqualTo",
             "comparisonValue": "pears",
             "questionID" : "favorouriteFruit"
           }
          ],
          "behaviourType": "GoToPage",
          "PageSlug": "page-two"
        }
      ]

Clone this wiki locally