From version < 6.1 >
edited by gru
on 25.03.2019, 12:02
To version < 6.22 >
edited by gru
on 01.07.2020, 14:18
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,53 +1,90 @@
1 1  {{content/}}
2 2  
3 -HTML templates are used by [[actions>>doc:Aktionen]] of type [[response page>>doc:Abschlusseite (Template)]] and can be displayed to the user after a form has been submitted.
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.
4 4  
5 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]].
6 6  
7 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.
8 8  
9 +{{figure float="right" image="1_en_TemplatesHTML.png" width="300"}}{{/figure}}
10 +
9 9  == Available templates ==
10 10  
11 11  The following system templates are available.
12 12  
13 -* **general error**
14 -Possible error message while opening or sending the form.
15 +* **Authentication failed**
16 +The login was not successful.
15 15  
16 -* **login necessary**
18 +* **Authorization failed**
19 +The authorization was not successful.
20 +
21 +* **Authorization required**
17 17  If the requested form is verified and the current user is not signed in, this text block will be displayed.
18 18  
19 -* **login failed**
20 -The login was not successful.
24 +* **Bad Request**
25 +A wrong data type or a faulty request was sent to the server.
21 21  
22 -* **data set not found**
27 +* **BOT detected**
28 +An attempt was made to send data illegal (e.g. trough automated bots).
29 +
30 +* **Data not found**
23 23  The requested data set could not be found. This crops up, when you try to open an established process with the wrong process ID.
24 24  
25 -* **information**
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.
35 +
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).
38 +
39 +* **Double opt-in verification successful**
40 +The opt-in was successful.
41 +
42 +* **File upload size exceeded**
43 +The files sent by the user exceed the maximum allowed total size.
44 +
45 +* **General Error**
46 +Possible error message while opening or sending the form.
47 +
48 +* **Information**
26 26  Contains the information of the system, which are gained via the button //information//.
27 27  
28 -* **resource not found**
51 +* **Invalid Data**
52 +The sent form data are invalid. Wrong form data were sent to the server.
53 +
54 +* **Invalid double-POST**
55 +The form data sent is invalid because it has already been sent to the server.
56 +
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).
59 +
60 +* **Participation password or login required**
61 +To access the form, entering a password or logging in as a user is required.
62 +
63 +* **Participation password required**
64 +A password must be entered to access the form.
65 +
66 +* **Resource not found**
29 29  The requested resources could not be found, possibly because of a wrong or incomplete link.
30 30  
31 -* **resource offline**
69 +* **Resource offline**
32 32  The requested resource is not online (yet).
33 33  
34 -* **sending successful**
35 -The form data was submitted successfully.
36 -
37 -* **sending failed**
72 +* **Sending Failed**
38 38  The form data could not be submitted.
39 39  
40 -* **invalid form data**
41 -The sent form data are invalid. Wrong form data were sent to the server.
75 +* **Submission successful**
76 +The form data was submitted successfully.
42 42  
43 -* **invalid request**
44 -A wrong data type or a faulty request was sent to the server.
78 +== Resetting templates ==
45 45  
46 -* **BOT detected**
47 -An attempt was made to send data illegal (e.g. trough automated bots).
80 +System templates can be reset to their initial content by clicking on the corresponding //Reset// button. All changes will be lost!
48 48  
49 -=== Resetting templates ===
82 +== Internationalization of HTML templates ==
83 +{{figure float="right" image="2_en_InternationalizationHTML.png" width="300"}}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.
84 +{{/figure}}
50 50  
51 -System templates can be reset to their initial content by clicking on the corresponding button. All changes will be lost!
86 +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.
52 52  
53 -{{lightbox image="043En.png" width="250"/}}
88 +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.
89 +
90 +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