Value hidden field don't read the database

Retrieve logged-in user data in a ChronoForms hidden field.

Overview

The user attempted to populate a hidden field using an incorrect placeholder that doesn't access Joomla's user session data.
Use the correct Joomla user session placeholder format to automatically pull the required user information into the form field.

Answered
ChronoForms v6
gi giorgio.franchi 03 Sep, 2019
Hi,
I create a new form for upload a file for my user in my web site after the login.
I would not let him re-enter the data they used to register.
Is there a way to retrieve data of the user who is logged in and who uploaded the file?
I tryed to put this in a hidden field value "name_db:{data:username}" but I did not return the data from the registration database.
There is a way to do this?



Regards
he healyhatman 03 Sep, 2019
Answer
User data is available with {user:<fieldname>}

So for example {user:id} or {user:username} or {user:email}
This topic is locked and no more replies can be posted.