From version < 23.1 >
edited by nlo
on 30.04.2020, 11:27
To version < 30.1 >
edited by sas
on 16.07.2020, 16:32
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.nlo
1 +XWiki.sas
Content
... ... @@ -28,6 +28,8 @@
28 28  
29 29  == Variable types ==
30 30  
31 +{{id name="sec_form_placeholder"/}}
32 +
31 31  === Form elements ===
32 32  
33 33  {{panel monospace="true" title="Syntax"}}
... ... @@ -104,13 +104,13 @@
104 104  {{id name="fig_prefill_user_variables"/}}
105 105  {{figure image="prefill_user_variables_en.png"}}Using user variables to prefill form fields with data of the logged in user.{{/figure}}
106 106  
107 -User variables may be used [[actions>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.Actions.WebHome]], [[templates>>doc:Formcycle.UserInterface.FilesAndTemplates.WebHome]], [[data base queries>>Formcycle.UserInterface.Data.DBQueries.WebHome]] or directly in [[form elements>>Formcycle.FormDesigner.FormElements.WebHome]] for prefilling the form (see [[figure>>||anchor="fig_prefill_user_variables"]]).
109 +User variables may be used in [[actions>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.Actions.WebHome]], [[templates>>doc:Formcycle.UserInterface.FilesAndTemplates.WebHome]], [[data base queries>>Formcycle.UserInterface.Data.DBQueries.WebHome]] or directly in [[form elements>>Formcycle.FormDesigner.FormElements.WebHome]] for prefilling the form (see [[figure>>||anchor="fig_prefill_user_variables"]]).
108 108  
109 109  {{panel monospace="true" title="Syntax"}}
110 110  [%$&lt;user object&gt;.&lt;attribute&gt;%]
111 111  {{/panel}}
112 112  
113 -There are three user objects available which can be used to access information about the user. If a user variable is being used without any attributes, all user information will be returned in [[JSON>>https://de.wikipedia.org/wiki/JavaScript_Object_Notation]] format.
115 +There are three user objects available which can be used to access information about the user (user profile). If a user variable is being used without any attributes, all user information will be returned in [[JSON>>https://de.wikipedia.org/wiki/JavaScript_Object_Notation]] format.
114 114  
115 115  For sensible use of the user variables it is necessary to enable [[form login>>doc:Formcycle.UserInterface.MyForms.Access.WebHome||anchor="form_login"]]. If this is not configured the user object will be set to an anonymous user.
116 116  
... ... @@ -147,7 +147,7 @@
147 147  ; id
148 148  : ID of the user. (system ID for FORMCYCLE users)
149 149  ; linkedId
150 -:
152 +: A user profile may have a linked identifier, which is the identifier of another user profile.
151 151  ; locale
152 152  : Language of the user
153 153  ; location
... ... @@ -171,6 +171,22 @@
171 171  ; userName
172 172  : user name
173 173  
176 +{{id name="sec_appointment_variables" /}}
177 +=== Appointment variables {{version major="6" minor="5" patch="0"/}} ===
178 +
179 +Appointment variables can be used when [[appointments>>doc:Formcycle.FormDesigner.FormElements.Appointment.WebHome]] are booked with the form.
180 +
181 +{{panel monospace="true" title="Syntax"}}
182 +[%$&lt;Name&gt;%]
183 +{{/panel}}
184 +
185 +; [%$APPOINTMENT_LIST%]
186 +: Creates a summary of the dates booked with the form record in the form of a //ul// HTML list. For each appointment a button is also created, with which the booked appointment can be added to a calendar. This variable is intended for use in HTML templates.
187 +; [%$APPOINTMENT_LINK%]
188 +: Creates a link to an iCal file that contains all the dates of the form record.
189 +
190 +{{id name="sec_system_placeholder_html" /}}
191 +
174 174  === System variables for HTML templates ===
175 175  
176 176  {{panel monospace="true" title="Syntax"}}
Copyright 2000-2024