getPreviousPage
Description
Input / Parameter
Output
Description
Output Type
Callback
Video
Example
Steps
No.
Description
Result
Links
Last updated
Returns the name of the page the user was on before the current page.
N/A
Returns the name of the previous page.
String/Text
N/A
Coming Soon.
The user wants to get the name of the previous page they were on.
1.

Drag a button to a page in the mobile designer. Select the event click for the button and drag the gotoPage function to the event flow.
2.

Fill in the parameters of the function.
3.

Drag the console function to the node below the gotoPage function.
4.

Select the function parameter input type for the value parameter.
5.

Drag the getPreviousPage function to the node in the subflow.
When the button is pressed, the page will navigate to pgWelcome and the console will show the name of the previous page.
Last updated