NextScreenAvailable property

TextScreen.NextScreenAvailable — Logical

Whether the screen following the text screen is available. The user cannot reach the next screen if this property returns FALSE.

Use this property to prevent users from moving on until they have fulfilled all requirements on the screens leading up to the next screen. For instance, the next screen may only be available if the user has indicated that they have agreed to your licensing terms, or if all required fields have been correctly filled out.

Use the NextScreen property to determine which screen users should be taken to when moving on to the next screen.

If this property is not set, it returns FALSE.

Examples

MainScreen!Field1.Valid && MainScreen!Field2.Valid && ISDEFINED(MainScreen!Field3)MainScreen!Field1,Valid && MainScreen!Field2,Valid && ISDEFINED(MainScreen!Field3)

Enables the user to move on to the next screen only if Field1 and Field2 are considered valid (by the Valid property) and if the user has filled out the Field3 field. All fields belong to the screen MainScreen.

AND((MainScreen!Field1:MainScreen!Field5).Valid)AND((MainScreen!Field1:MainScreen!Field5),Valid)

Enables the user to move on to the next screen only if all fields of the MainScreen!Field1:MainScreen!Field5MainScreen!Field1:MainScreen!Field5 range are valid (meaning that their Valid properties all return TRUE). This range includes the two fields Field1 and Field5, part of the screen MainScreen, and all fields that appear between them.

The formula fragment (MainScreen!Field1:MainScreen!Field5).Valid(MainScreen!Field1:MainScreen!Field5),Valid returns a logical array with the same number of elements as there are fields in the MainScreen!Field1:MainScreen!Field5MainScreen!Field1:MainScreen!Field5 range, like this array: { TRUE, FALSE, TRUE, TRUE, FALSE }{ TRUE; FALSE; TRUE; TRUE; FALSE }. The AND function returns TRUE only if all elements of the array are TRUE.

OR((MainScreen!Field1:MainScreen!Field5).Valid)OR((MainScreen!Field1:MainScreen!Field5),Valid)

Enables the user to move on to the next screen if at least a single field of the MainScreen!Field1:MainScreen!Field5MainScreen!Field1:MainScreen!Field5 range is valid (meaning that the Valid property of a single field must return TRUE). This range includes the two fields Field1 and Field5, part of the screen MainScreen, and all fields that appear between them.

The formula fragment (MainScreen!Field1:MainScreen!Field5).Valid(MainScreen!Field1:MainScreen!Field5),Valid returns a logical array with the same number of elements as there are fields in the MainScreen!Field1:MainScreen!Field5MainScreen!Field1:MainScreen!Field5 range, like this array: { TRUE, FALSE, TRUE, TRUE, FALSE }{ TRUE; FALSE; TRUE; TRUE; FALSE }. The OR function returns TRUE if one or several elements of the array are TRUE.

AND(ISDEFINED(MainScreen!Field1:MainScreen!Field5))AND(ISDEFINED(MainScreen!Field1:MainScreen!Field5))

Enables the user to move on to the next screen only if all fields of the MainScreen!Field1:MainScreen!Field5MainScreen!Field1:MainScreen!Field5 range have been filled out (as determined by the ISDEFINED function). This range includes the two fields Field1 and Field5, part of the screen MainScreen, and all fields that appear between them.

The formula ISDEFINED(MainScreen!Field1:MainScreen!Field5)ISDEFINED(MainScreen!Field1:MainScreen!Field5) returns a logical array with the same number of elements as there are fields in the MainScreen!Field1:MainScreen!Field5MainScreen!Field1:MainScreen!Field5 range, like this array: { TRUE, FALSE, TRUE, TRUE, FALSE }{ TRUE; FALSE; TRUE; TRUE; FALSE }. The AND function returns TRUE only if all elements of the array are TRUE.

ISEMAIL(MainScreen!EmailAddress) && MainScreen!TermsAcceptanceISEMAIL(MainScreen!EmailAddress) && MainScreen!TermsAcceptance

Enables the user to move on to the next screen only if the email address entered in the EmailAddress field is likely a correct email address and the user has toggled the TermsAcceptance switch field to its "on" position, indicating acceptance of the terms of service. Both fields are part of the form screen MainScreen.