From version < 24.1 >
edited by nlo
on 30.04.2020, 16:37
To version < 26.1 >
edited by nlo
on 30.04.2020, 16:43
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -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"]]).
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 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.
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.
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  
Copyright 2000-2024