Hide last authors
gru 15.11 1 {{content/}}
2
sas 22.1 3 HTML templates are used by [[actions>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.Actions.WebHome]] of type [[response page>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.Actions.ResponsePage]] and can be displayed to the user after a form has been submitted.
gru 1.1 4
sas 22.1 5 Initially several system templates are available, which are created automatically when a new client is created. They cannot be deleted. See also [[error messages>>doc:Formcycle.SystemSettings.ErrorMessageTemplates]].
gru 1.1 6
sas 22.1 7 HTML system templates are mainly used for system messages such as informing the user about error during login etc. Their content can be changed as required. It is also possible to use placeholders within the response page, these can be [[form placeholders>>doc:Formcycle.UserInterface.Variables||anchor="sec_form_placeholder" target="_blank"]] or [[system placeholders>>doc:Formcycle.UserInterface.Variables||anchor="sec_system_placeholder_html" target="_blank"]] offer for example an attachment of a process as download.
gru 1.1 8
sas 22.1 9 {{figure float="right" image="1_en_TemplatesHTML.png" width="300"}}{{/figure}}
gru 15.3 10
sas 22.1 11 == Available templates ==
gru 1.1 12
sas 22.1 13 The following system templates are available.
gru 1.1 14
sas 22.1 15 * **Authentication failed**
16 The login was not successful.
gru 1.1 17
sas 22.1 18 * **Authorization failed**
19 The authorization was not successful.
gru 1.1 20
sas 22.1 21 * **Authorization required**
22 If the requested form is verified and the current user is not signed in, this text block will be displayed.
gru 9.2 23
sas 22.1 24 * **Bad Request**
25 A wrong data type or a faulty request was sent to the server.
gru 9.2 26
sas 22.1 27 * **BOT detected**
28 An attempt was made to send data illegal (e.g. trough automated bots).
gru 9.2 29
sas 22.1 30 * **Data not found**
31 The requested data set could not be found. This crops up, when you try to open an established process with the wrong process ID.
gru 1.1 32
sas 22.1 33 * **Double opt-in email sent**
34 The form data has been successfully submitted and an e-mail with the opt-in confirmation link will be sent.
gru 9.2 35
sas 22.1 36 * **Double opt-in verification failed**
37 The opt-in was not successful (e.g. because the opt-in link was not called within the specified time period).
gru 9.2 38
sas 22.1 39 * **Double opt-in verification successful**
40 The opt-in was successful.
gru 9.2 41
sas 22.1 42 * **File upload size exceeded**
43 The files sent by the user exceed the maximum allowed total size.
gru 9.2 44
sas 22.1 45 * **General Error**
46 Possible error message while opening or sending the form.
gru 1.1 47
sas 22.1 48 * **Information**
49 Contains the information of the system, which are gained via the button //information//.
gru 1.1 50
sas 22.1 51 * **Invalid Data**
52 The sent form data are invalid. Wrong form data were sent to the server.
gru 1.1 53
sas 22.1 54 * **Invalid double-POST**
55 The form data sent is invalid because it has already been sent to the server.
gru 1.1 56
sas 22.1 57 * **One time submission error**
58 The form data could not be submitted because the field defined as the unique identifier has the same value as in an already received form (e.g. the same e-mail address is used).
gru 1.1 59
sas 22.1 60 * **Participation password or login required**
61 To access the form, entering a password or logging in as a user is required.
gru 9.2 62
sas 22.1 63 * **Participation password required**
64 A password must be entered to access the form.
gru 9.2 65
sas 22.1 66 * **Resource not found**
67 The requested resources could not be found, possibly because of a wrong or incomplete link.
gru 1.1 68
sas 22.1 69 * **Resource offline**
70 The requested resource is not online (yet).
gru 9.2 71
sas 22.1 72 * **Sending Failed**
73 The form data could not be submitted.
gru 1.1 74
sas 22.1 75 * **Submission successful**
76 The form data was submitted successfully.
gru 1.1 77
sas 22.1 78 == Resetting templates ==
gru 18.1 79
sas 22.1 80 System templates can be reset to their initial content by clicking on the corresponding //Reset// button. All changes will be lost!
gru 18.1 81
sas 22.1 82 == Internationalization of HTML templates ==
83
84 {{figure float="right" image="2_en_InternationalizationHTML.png" width="300"}}
85 The //Source// button opens the editor. The contents of the templates for the individual languages are defined in separate elements with a lang attribute with the abbreviation of the language as value.
sas 21.1 86 {{/figure}}
87
sas 22.1 88 The system templates contain an English and a German version of the corresponding message as standard. Internationalization is achieved using //lang// attributes attached to certain HTML elements.
gru 18.1 89
sas 22.1 90 After selecting one of the existing end pages, you can view its structure by clicking on the //Source// button. In the editor window that opens you can see that the individual languages are always available in a separate {{code language="none"}}<div>{{/code}} element with the language as attribute (e.g. {{code language="none"}}<div lang="en">{{/code}}). More languages can be easily added by adding another {{code language="none"}}<div>{{/code}}- element with the corresponding language abbreviation in the //lang// attribute on the same level as the existing languages and then inserting the desired content for that language into it.
gru 18.1 91
sas 22.1 92 Note that the entire content of the template will be displayed if the language used to submit a form does not match any of the defined languages.
Copyright 2000-2024