Reset Value
Puts a value back to what it started as.
Category: Data
#When to use it
Use it to clear a form after saving, or to start something over, like a game's score.
#Example
A note's Save button: an Add to List that saves the note, then Reset Value with State: draft. The field that edits draft is empty again.
#Good to know
- It puts back the starting value the variable has in Data & Logic, not the last remembered one. For a remembered variable, that starting value is what's saved from then on.
#Add it
Select a view, open the Inspector's Actions tab, pick when it runs, tap Add action and choose Reset Value (under Data). Tap the step to open its settings.
#Settings
| Setting | What it does | Kind | Default |
|---|---|---|---|
| State | The value to reset. | Variable | Required |