Wiki source code of HTML-Abschlussseite
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
11.1 | 1 | {{figure image="response_page_en.png" clear="h1"}} |
| 2 | User interface for actions of type //HTML response page//. | ||
| |
1.1 | 3 | {{/figure}} |
| 4 | |||
| |
11.1 | 5 | Actions of type //HTML response page// allow to display a completion page to the user after submitting a form. |
| |
1.1 | 6 | |
| |
11.1 | 7 | By default, the final page of the [[System-Templates //Submit Successfully//>>Formcycle.UserInterface.FilesAndTemplates.HTML]] is displayed when a form is successfully submitted. |
| |
1.1 | 8 | |
| |
11.1 | 9 | To display a project-specific completion page, you can use this action. If no corresponding closing page exists yet, first create a new [[HTML-Template>>Formcycle.UserInterface.FilesAndTemplates.HTML]]. Then select the desired HTML template. After submitting the form, the content of the selected completion page will now be displayed. |
| |
5.1 | 10 | |
| |
11.1 | 11 | == Parameters == |
| |
5.1 | 12 | |
| 13 | ; Template (HTML) | ||
| |
11.1 | 14 | : Selection of the HTML completion page. All HTML completion pages available in the administration [[HTML-Templates>>Formcycle.UserInterface.FilesAndTemplates.HTML]] will be displayed. |
| |
5.1 | 15 | |
| |
11.1 | 16 | == Action variables == |
| |
5.1 | 17 | |
| |
11.1 | 18 | Actions of type //HTML response page// provide [[Action variables>>Formcycle.UserInterface.Variables||anchor="HActionvariables"]] which can be used in subsequent actions. |
| |
5.1 | 19 | |
| |
11.1 | 20 | === Standard action variables === |
| |
5.1 | 21 | |
| |
11.1 | 22 | ; [%$<action name>.SUCCESS%] |
| 23 | : Return whether action was successfully executed. Returns Boolean (true/false). | ||
| 24 | ; [%$<action name>.RESULT%] | ||
| 25 | : Return all results provided by the action in structured form. | ||
| |
5.1 | 26 | |
| |
11.1 | 27 | ; [%$<action name>.ERROR_CODE%] |
| 28 | : The error code thrown in case of an error in the action. Empty if no error occurred. | ||
| 29 | ; [%$<action name>.ERROR_MESSAGE%] | ||
| 30 | : The thrown error message in the action's error case. Empty if no error occurred. | ||
| |
5.1 | 31 | |
| |
11.1 | 32 | === Action specific action variables === |
| |
5.1 | 33 | |
| |
11.1 | 34 | ; [%$<actionname>.RESULT.responseCode%] |
| 35 | : The HTTP status code with which the template was delivered. | ||
| 36 | ; [%$<actionName>.RESULT.templateUuid%] | ||
| 37 | : The UUID of the HTML template that was returned. | ||
| 38 | ; [%$<actionname>.ERROR.message%] | ||
| 39 | : Error message returned if no template could be determined to display the results page. This can happen if it has been deleted in the meantime. |