Visible property

Navigator.Visible — Logical

Special value available in formulas:

Item

Navigator

The navigator this property is part of, enabling multiple checked items in the app designer to share the same formula and be updated all at once.

Consider the fields Field1 and Field2, which should only be considered to be valid if their values are greater than 4. Without using the Item value, the Valid property of Field1 would need to use the formula Field1 > 4Field1 > 4 and the Valid property of Field2 would need to use the formula Field2 > 4Field2 > 4.

Using Item, both formulas can read Item > 4Item > 4. This is useful if you have many fields and you want to be able to update their formulas all at once. To do so, click their check boxes in Calcapp Creator and make sure that a checked field is selected. Then, when you update a formula for one checked field, you update all the other checked fields too, which is a great timesaver.

Use Item in exactly the same way you'd use the regular name. Navigator1.VisibleNavigator1,Visible and Item.VisibleItem,Visible are equivalent, for instance.

Whether a navigator is visible.

Associate a formula with this property to determine if users should see a navigator based on information they have entered in the app, based on their email address or based on the tags you have assigned to them.

If this property is not set, it returns FALSE.

Examples

MainScreen!TermsAcceptanceMainScreen!TermsAcceptance

Shows a navigator only if the user has accepted the terms and conditions, specifically if the switch field TermsAcceptance of the screen MainScreen has been toggled to its "on" position.

ISODD(MainScreen!Field1) && (MainScreen!Field2 < 3)ISODD(MainScreen!Field1) && (MainScreen!Field2 < 3)

Shows a navigator only if the value of Field1 is odd and the value of Field2 is less than 3. Both fields are part of the screen MainScreen.

MainScreen!Field1.ValidMainScreen!Field1,Valid

Shows a navigator only if Field1, part of the screen MainScreen, is considered valid.

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

Shows a navigator only if all fields of the MainScreen!Field1:MainScreen!Field5MainScreen!Field1:MainScreen!Field5 range are valid (as determined by the Valid property of the fields). This range includes the two fields Field1 and Field5, which are part of the screen MainScreen, and all fields that appear between them.

The formula (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.

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

Shows a navigator only if all fields of the MainScreen!Field1:MainScreen!Field5MainScreen!Field1:MainScreen!Field5 range are filled out (that is, have values which are not blank). This range includes the two fields Field1 and Field5, which are 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.

ENDSWITH(App.UserEmailAddress, "@example.com")ENDSWITH(App,UserEmailAddress; "@example.com")

Shows a navigator only if the signed-in user has an email address that ends with "example.com". (To enable users to sign in, make your app private.)

USERHASTAG("Employee")USERHASTAG("Employee")

Shows a navigator only if the signed-in user is associated with the tag "Employee". (To enable users to sign in, make your app private.)