INPUT()

Dynamic input assigned by the user or an action
Note: The INPUT() function is in beta release mode.

Returns the default value, unless it is in a specific context where the INPUT() is supplied (by the app user or by some invoking action). The return type is based on the default value expression.

Sample usage

INPUT("Age", 20) returns a Number value that defaults to the value 20. This would be used in a data change action (such as, as the value to the set a specific column to). See also: SetColumnValue Actions

INPUT("Feedback", TEXT("")) returns a Text value that defaults to an empty text. This would be used in a data change action (for example, as the value to set a specific column to).

Syntax

INPUT(inputName, defaultValueExpression)

  • inputName - Any input name (Text) that is unique within the context where it is used.

  • defaultValueExpression - Default value (any type) that should be associated with this expression.

Notes

INPUT() is a special kind of function expression meant for application elements that are reused in different contexts. The most common example is a data change action that sets the value of a specific column in a row. While the INPUT() function can be used in any expression anywhere in an AppSheet app, it always evaluates to the default value expression unless it is used in the specific scenarios described in Use dynamic inputs for data change actions.

See Also

Use dynamic inputs for data change actions

Was this helpful?
How can we improve it?
Search
Clear search
Close search
Google apps
Main menu
Search Help Center
false