Changes for page Platzhalter
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -99,13 +99,19 @@ 99 99 ; [%$FORM_DATE_MODIFIED("<format>", <lang>)%] 100 100 : {{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}} 101 101 102 +{{id name="sec_user_variables"/}} 102 102 103 -{{id name="sec_user_variables" /}} 104 104 === User variables {{version major="6" minor="4" patch="0"/}} === 105 105 106 106 {{id name="fig_prefill_user_variables"/}} 107 107 {{figure image="prefill_user_variables_en.png"}}Using user variables to prefill form fields with data of the logged in user.{{/figure}} 108 108 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 + 109 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"]]). 110 110 111 111 {{panel monospace="true" title="Syntax"}} ... ... @@ -112,7 +112,7 @@ 112 112 [%$<user object>.<attribute>%] 113 113 {{/panel}} 114 114 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. 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. 116 116 117 117 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. 118 118 ... ... @@ -173,7 +173,8 @@ 173 173 ; userName 174 174 : user name 175 175 176 -{{id name="sec_appointment_variables" /}} 182 +{{id name="sec_appointment_variables"/}} 183 + 177 177 === Appointment variables {{version major="6" minor="5" patch="0"/}} === 178 178 179 179 Appointment variables can be used when [[appointments>>doc:Formcycle.FormDesigner.FormElements.Appointment.WebHome]] are booked with the form. ... ... @@ -187,7 +187,7 @@ 187 187 ; [%$APPOINTMENT_LINK%] 188 188 : Creates a link to an iCal file that contains all the dates of the form record. 189 189 190 -{{id name="sec_system_placeholder_html" 197 +{{id name="sec_system_placeholder_html"/}} 191 191 192 192 === System variables for HTML templates === 193 193