Changes for page Platzhalter
From version 36.1
edited by nlo
on 14.10.2021, 16:40
on 14.10.2021, 16:40
Change comment:
There is no comment for this version
To version 36.3
edited by Nils Schweigert
on 02.09.2022, 17:18
on 02.09.2022, 17:18
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.n lo1 +XWiki.nsc - Content
-
... ... @@ -40,6 +40,22 @@ 40 40 41 41 Example: The variable {{code language="none"}}[%tfEmail%]{{/code}} will take the value of the [[input field>>doc:Formcycle.Designer.Form.FormElements.Input]] named //tfEmail//. 42 42 43 +=== Question element variables === 44 + 45 +To access the values of [[select elements>>doc:Formcycle.Designer.Form.FormElements.Selection]] displayed as questions, you can use the following variables. Assume the select element is named //sel1//, has got 3 questions Q1, Q2, Q3 and 3 answers A1, A2, A3, and also assume these answers are selected: 46 + 47 +{{table}} 48 +|= - |= A1 |= A2 |= A3 49 +|Q1|☑|☐|☐ 50 +|Q2|☑|☑|☐ 51 +|Q3|☑|☑|☑ 52 +{{/table}} 53 + 54 +Then: 55 + 56 +* //[%sel1%]// resolves to //A1;A1,A2;A1,A2,A3// 57 +* //[%sel1_0%]// resolves to //A1//, //[%sel1_1%]// resolves to //A1,A2//, and //[%sel1_2%]// resolves to //A1,A2,A3// 58 + 43 43 === Special form elements === 44 44 45 45 There are some special variables available: ... ... @@ -51,7 +51,7 @@ 51 51 52 52 === System variables === 53 53 54 -{{id name="system" /}}70 +{{id name="system"/}} 55 55 56 56 {{panel monospace="true" title="Syntax"}} 57 57 [%$<Name>%] ... ... @@ -61,9 +61,9 @@ 61 61 62 62 ; [%$CLIENT_ID%] 63 63 : The client ID of the client of the current form. 64 -; [%$CLIENT_MAIL_SENDER%] {{version major="7" minor="0" patch="4" /}}80 +; [%$CLIENT_MAIL_SENDER%] {{version major="7" minor="0" patch="4"/}} 65 65 : Returns the mail sender address of the client. If none has been set then an empty string will be returned. 66 -; [%$CLIENT_MAIL_SENDERNAME%] {{version major="7" minor="0" patch="4" /}}82 +; [%$CLIENT_MAIL_SENDERNAME%] {{version major="7" minor="0" patch="4"/}} 67 67 : Returns the mail sender name of the client. If none has been set then an empty string will be returned. 68 68 ; [%$FORM_LINK%] 69 69 : The URL of the current form. ... ... @@ -77,6 +77,8 @@ 77 77 : Returns the inbox link the form record currently resides in. 78 78 ; [%$FORM_INVITE_LINK%] 79 79 : Returns the invitation link of the form. 96 +; [%$FORM_HISTORY_HTML%] 97 +: Returns the the history of a form as HTML. 80 80 ; [%$PROCESS_ID%] 81 81 : The current process ID of the form record. 82 82 ; [%$PROJECT_ALIAS%] ... ... @@ -262,7 +262,7 @@ 262 262 263 263 === Action variables === 264 264 265 -{{id name="action" /}}283 +{{id name="action"/}} 266 266 267 267 {{panel monospace="true" title="Syntax"}} 268 268 [%$<actionName>.<returnValue>%] ... ... @@ -292,4 +292,3 @@ 292 292 293 293 ; [%$<actionName>.COUNT%] 294 294 : The number of results. Evaluates to an integer value. 295 -