Forums

Value hidden field don't read the database

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
healyhatman 03 Sep, 2019
Answer
User data is available with {user:<fieldname>}

So for example {user:id} or {user:username} or {user:email}
giorgio.franchi 04 Sep, 2019
Thank you!
I got what I wanted.

Regards,
Giorgio
This topic is locked and no more replies can be posted.