show_if on detail view only

What is the best way to hide a field dependent on the view. For example, I want the form to only show a specific set of fields. Once the form is saved and the Detail form appears, I want to show the newly created coupon code.

You can create an expression to Conditionally show or hide a column value (Show_If) - AppSheet Help based on the user’s’ current view or view type as identified using the [CONTEXT](AppSheet function list - AppSheet Help function.

It’s also possible to simply exclude a column altogether from a view using its Control column order - AppSheet Help configuration settings.

2 Likes

CONTEXT(“ViewType”)=“Detail”

4 Likes