Wiki source code of Save
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | Actions of the //Save// type allow to enable or disable the "Saved" marker of the operation. This has the same effect as a button with the "Save" action in the form. The cache is mostly used so that the user can save an intermediate state and continue filling the form later. As a rule, a button with the action "Save" should be used. This action can be used when a process should be cached depending on a condition, for example. | ||
2 | |||
3 | == Action variables == | ||
4 | |||
5 | Actions of type //Save// provide [[Action variables>>Formcycle.UserInterface.Variables||anchor="HActionvariables"]] which can be used in subsequent actions. | ||
6 | |||
7 | === Standard action variables === | ||
8 | |||
9 | ; [%$<action name>.SUCCESS%] | ||
10 | : Return whether action was successfully executed. Returns Boolean (true/false). | ||
11 | ; [%$<action name>.RESULT%] | ||
12 | : Return all results provided by the action in structured form. | ||
13 | |||
14 | ; [%$<action name>.ERROR_CODE%] | ||
15 | : The error code thrown in case of an error in the action. Empty if no error occurred. | ||
16 | ; [%$<action name>.ERROR_MESSAGE%] | ||
17 | : The thrown error message in the action's error case. Empty if no error occurred. |