Changes for page Platzhalter
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. nlo1 +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"}} ... ... @@ -97,13 +97,19 @@ 97 97 ; [%$FORM_DATE_MODIFIED("<format>", <lang>)%] 98 98 : {{version major="6" minor="0" patch="5"/}} Available with FORMCYCLE version 6.0.5~{~{/info}} Last change date of the form record. The parameters are optional. When no parameter is specified, the date will be returned in default format. You can specify a custom date format with the first parameter, see the [[java.text.SimpleDateFormat>>https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html]] for more info on the date format string. The second parameter specifies the language, which affects the names of weekdays and months. Example: {{code language="none"}}[%$FORM_DATE_MODIFIED("yyyy/MM/dd", en-GB)%]{{/code}} 99 99 102 +{{id name="sec_user_variables"/}} 100 100 101 -{{id name="sec_user_variables" /}} 102 102 === User variables {{version major="6" minor="4" patch="0"/}} === 103 103 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 109 + 110 +{{html wiki="true"}} 111 +<div class='xm-figure xm-float-right xm-clear-h2' data-alt='Using user variables to prefill form fields with data of the logged in user.'><div class='xm-figure-inner' style='width:310px'>{{lightbox image='prefill_user_variables_en.png' width='300' group='$height' group='$group' title='Using user variables to prefill form fields with data of the logged in user.'/}}<div class='xm-figure-caption'>Using user variables to prefill form fields with data of the logged in user.</div></div></div> 112 +{{/html}} 113 + 114 + 107 107 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,7 +110,7 @@ 110 110 [%$<user object>.<attribute>%] 111 111 {{/panel}} 112 112 113 -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. 121 +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 (e.g. [%$USER%]), 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 ... ... @@ -171,6 +171,23 @@ 171 171 ; userName 172 172 : user name 173 173 182 +{{id name="sec_appointment_variables"/}} 183 + 184 +=== Appointment variables {{version major="6" minor="5" patch="0"/}} === 185 + 186 +Appointment variables can be used when [[appointments>>doc:Formcycle.FormDesigner.FormElements.Appointment.WebHome]] are booked with the form. 187 + 188 +{{panel monospace="true" title="Syntax"}} 189 +[%$<Name>%] 190 +{{/panel}} 191 + 192 +; [%$APPOINTMENT_LIST%] 193 +: 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. 194 +; [%$APPOINTMENT_LINK%] 195 +: Creates a link to an iCal file that contains all the dates of the form record. 196 + 197 +{{id name="sec_system_placeholder_html"/}} 198 + 174 174 === System variables for HTML templates === 175 175 176 176 {{panel monospace="true" title="Syntax"}}