Wiki source code of Formularwerte ändern
Hide last authors
author | version | line-number | content |
---|---|---|---|
12.1 | 1 | {{figure image="change_values_en.png" width="400" clear="h1"}} | |
2 | Configuration interface of the action //Change form values// | ||
1.1 | 3 | {{/figure}} | |
4 | |||
12.1 | 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. | |
1.1 | 6 | ||
12.1 | 7 | == Parameters == | |
5.1 | 8 | ||
12.1 | 9 | === Details for changing form values === | |
5.1 | 10 | ||
12.1 | 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. | |
1.1 | 12 | ||
12.1 | 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. | ||
5.1 | 17 | ||
12.1 | 18 | == Action variables == | |
5.1 | 19 | ||
12.1 | 20 | Actions of type //Change form values// provide [[Action variables>>Formcycle.UserInterface.Variables||anchor="HActionvariables"]] which can be used in subsequent actions. | |
5.1 | 21 | ||
12.1 | 22 | === Standard action variables === | |
5.1 | 23 | ||
12.1 | 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. | ||
5.1 | 28 | ||
12.1 | 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. |