Programmatic Navigation

To navigate after the execution of a script to a specific screen just return the name of the screen. You can also use it with the data binding to build conditional navigation. The following example will show "Screen A" if 'a' is entered into a text box, and otherwise "Screen B"

if (data.valueA === 'a') {

    return 'Screen A'

} else {

    return 'Screen B

}

Was this article helpful?

Example: Toggling Visibility
Reading & Writing Data