GOFORWARD function

GOFORWARD(Target?) GOFORWARD(Target?)

Target

Screen (optional)

The target screen the user should be moved forward to. If omitted, the user is moved forward to the next screen defined for the current screen, if any.

Returns

Nothing

This function does not return a value.

Moves the user forward to another screen. GOFORWARD()GOFORWARD() moves the user forward to the next screen defined for the current screen, if any.

This function can only be used from an action formula. It is typically invoked from a formula associated with the OnPress property of a formula button.

The optional parameter to this function specifies what screen to display. Use functions like IF and SWITCH to determine what screen to display using information entered into the app and calculated by the app. See below for an example.

Use GOBACK to move the user backward instead.

Examples

GOFORWARD()GOFORWARD()

Displays the next screen defined for the current screen, if one has been set.

GOFORWARD(ResultScreen)GOFORWARD(ResultScreen)

Displays the screen ResultScreen.

GOFORWARD(IF(Verdict = "Success", ResultScreen, WarningScreen))GOFORWARD(IF(Verdict = "Success"; ResultScreen; WarningScreen))

Displays the screen ResultScreen, but only if the Verdict field is equal to "Success." Otherwise, the screen WarningScreen is displayed instead.