Wiki source code of HTML-Abschlussseite
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{figure image="response_page_en.png" clear="h1"}} | ||
| 2 | User interface for actions of type //HTML response page//. | ||
| 3 | {{/figure}} | ||
| 4 | |||
| 5 | Actions of type //HTML response page// allow to display a completion page to the user after submitting a form. | ||
| 6 | |||
| 7 | By default, the final page of the [[System-Templates //Submit Successfully//>>Formcycle.UserInterface.FilesAndTemplates.HTML]] is displayed when a form is successfully submitted. | ||
| 8 | |||
| 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. | ||
| 10 | |||
| 11 | == Parameters == | ||
| 12 | |||
| 13 | ; Template (HTML) | ||
| 14 | : Selection of the HTML completion page. All HTML completion pages available in the administration [[HTML-Templates>>Formcycle.UserInterface.FilesAndTemplates.HTML]] will be displayed. | ||
| 15 | |||
| 16 | == Action variables == | ||
| 17 | |||
| 18 | Actions of type //HTML response page// provide [[Action variables>>Formcycle.UserInterface.Variables||anchor="HActionvariables"]] which can be used in subsequent actions. | ||
| 19 | |||
| 20 | === Standard action variables === | ||
| 21 | |||
| 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. | ||
| 26 | |||
| 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. | ||
| 31 | |||
| 32 | === Action specific action variables === | ||
| 33 | |||
| 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. |