... |
... |
@@ -102,9
+102,9 @@ |
102 |
102 |
=== User variables {{version major="6" minor="4" patch="0"/}} === |
103 |
103 |
|
104 |
104 |
{{id name="fig_prefill_user_variables"/}} |
105 |
|
-{{figure image="prefill_user_variables_en.png"}}Using user variables to prefill form fields with data of the logged in user.{{/figure}} |
|
105 |
+{{figure image="prefill_user_variables_en.png"}}Prefilling 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"]]). |
|
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. |
108 |
108 |
|
109 |
109 |
{{panel monospace="true" title="Syntax"}} |
110 |
110 |
[%$<user object>.<attribute>%] |
... |
... |
@@ -112,7
+112,7 @@ |
112 |
112 |
|
113 |
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. |
114 |
114 |
|
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. |
|
115 |
+For sensible use of the user variables it is necessary to enable [[form login>>doc:Formcycle.UserInterface.MyForms.Access.WebHome]]. If this is not configured the user object will be set to an anonymous user. |
116 |
116 |
|
117 |
117 |
|
118 |
118 |
==== User objects ==== |
... |
... |
@@ -147,7
+147,7 @@ |
147 |
147 |
; id |
148 |
148 |
: ID of the user. (system ID for FORMCYCLE users) |
149 |
149 |
; linkedId |
150 |
|
-: A user profile may have a linked identifier, which is the identifier of another user profile. |
|
150 |
+: |
151 |
151 |
; locale |
152 |
152 |
: Language of the user |
153 |
153 |
; location |