I am using Chronoforms 8 having come from chronoform 5 The component is great once you get to know how to implement the features.
Hi, I have created a form where the compiler can enter their name and email address. They need to be logged in to see the form
I'm pretty sure there is a way of accessing joomla 4 user information and displaying it in the form, but I cannot find and chronoform 8 tutorials? Help would be appreciated. Thanks
Hi, I have created a form where the compiler can enter their name and email address. They need to be logged in to see the form
I'm pretty sure there is a way of accessing joomla 4 user information and displaying it in the form, but I cannot find and chronoform 8 tutorials? Help would be appreciated. Thanks
Hi
Just use {user:name} or {user:email} where you want to get this information
Just use {user:name} or {user:email} where you want to get this information
Thank Max for the clues. Do you have a method of tipping you for advise?
For completeness, an HTML field from the 'Contents' list has to be dragged into the form where you want the user information to appear and I entered the following into the HTML field for Joomla Name, Username, email and ID. : -
<p><strong>These are your credentials automatically loaded into the form: -</strong></p>
<p><strong>Your Name: {user:name}</strong></p>
<p><strong>Your Username: {user:username} </strong></p>
<p><strong>Your email: {user:email}</strong></p>
<p><strong>Your ID: {user:id}</strong></p>
For completeness, an HTML field from the 'Contents' list has to be dragged into the form where you want the user information to appear and I entered the following into the HTML field for Joomla Name, Username, email and ID. : -
<p><strong>These are your credentials automatically loaded into the form: -</strong></p>
<p><strong>Your Name: {user:name}</strong></p>
<p><strong>Your Username: {user:username} </strong></p>
<p><strong>Your email: {user:email}</strong></p>
<p><strong>Your ID: {user:id}</strong></p>
https://www.chronoengine.com/faqs/chronoforms/chronoforms6/variable-shortcodes
Although these shortcodes are from CF6, most of it should still work. Eg for the user data, you get it from {user:}
Although these shortcodes are from CF6, most of it should still work. Eg for the user data, you get it from {user:}
You need to login to be able to post a reply.