INPUT()

Dynamic input assigned by the user or an action
Note: The INPUT() function is in beta release mode.
 
Going forward, use the new INPUT syntax described in Set input values dynamically in data-change actions. For information about the new syntax and recommended migration plan, see the community announcement.

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(input-name, default)

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

  • default - 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.

Not supported for Chat apps at this time.

See Also

Use dynamic inputs for data change actions by using the INPUT() function

Was this helpful?

How can we improve it?

Need more help?

Try these next steps:

true
Search
Clear search
Close search
Google apps
Main menu
18032588436785621376
true
Search Help Center
true
true
true
false
false