Wiki source code of Formularwerte ändern
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{figure image="change_values_en.png" width="400" clear="h1"}} | ||
| 2 | Configuration interface of the action //Change form values// | ||
| 3 | {{/figure}} | ||
| 4 | |||
| 5 | Actions of type //Change form values// allow to change values of [[Form Elements>>Formcycle.Designer.Form.FormElements.WebHome]] of the submitted form even afterwards. | ||
| 6 | |||
| 7 | == Parameters == | ||
| 8 | |||
| 9 | === Details for changing form values === | ||
| 10 | |||
| 11 | By clicking on the plus button a new entry is added to the element list. After that the following elements are available per line. | ||
| 12 | |||
| 13 | ; Form field | ||
| 14 | : Use [[variables selection>>Formcycle.UserInterface.Variables]] to select the element of the form to be changed. | ||
| 15 | ; Value | ||
| 16 | : This field defines the new value of the element. Variables can also be used or the text can be entered directly. | ||
| 17 | |||
| 18 | == Action variables == | ||
| 19 | |||
| 20 | Actions of type //Change form values// provide [[Action variables>>Formcycle.UserInterface.Variables||anchor="HActionvariables"]] which can be used in subsequent actions. | ||
| 21 | |||
| 22 | === Standard action variables === | ||
| 23 | |||
| 24 | ; [%$<action name>.SUCCESS%] | ||
| 25 | : Return whether action was successfully executed. Returns Boolean (true/false). | ||
| 26 | ; [%$<action name>.RESULT%] | ||
| 27 | : Return all results provided by the action in structured form. | ||
| 28 | |||
| 29 | ; [%$<action name>.ERROR_CODE%] | ||
| 30 | : The error code thrown in case of an error in the action. Empty if no error occurred. | ||
| 31 | ; [%$<action name>.ERROR_MESSAGE%] | ||
| 32 | : The thrown error message in the action's error case. Empty if no error occurred. |