Hello:
I´m trying to load the user session data in order to save some of this data in my form database. In fact I need the username, name, email and id_user (but this last one is automatically saved in the database with chronoforms).
I think that i should use the load Session to data item at the "on load" setup item ( I don`t know if it is better before or after th HTML Render form), and then I can create a hidden field in my form with the field name and field id named like the items that I need (name, username and email). Then I should make new columns in my table DB in order to prepare the table to get in the data saved.
The problem is that It doesn`t work. I can save all the items in my form but the columns with name, email and username are empty.
What can I do with this? What did I wrong?
Could you tell me how to load and save user data logged into my form DB?
Thanks for all.
I´m trying to load the user session data in order to save some of this data in my form database. In fact I need the username, name, email and id_user (but this last one is automatically saved in the database with chronoforms).
I think that i should use the load Session to data item at the "on load" setup item ( I don`t know if it is better before or after th HTML Render form), and then I can create a hidden field in my form with the field name and field id named like the items that I need (name, username and email). Then I should make new columns in my table DB in order to prepare the table to get in the data saved.
The problem is that It doesn`t work. I can save all the items in my form but the columns with name, email and username are empty.
What can I do with this? What did I wrong?
Could you tell me how to load and save user data logged into my form DB?
Thanks for all.