My web page allows people to input information through a survey, however, their inputted information is not tied to their profile. Is there any way I could have a person’s profile information linked to their survey submissions so I can identify who submitted what information?
Hi Jack!
You can simply check the _ID of the user that fills the survey at the moment, using Wix-Users’s currentUser .
Once you got the _ID you can link the data to the user’s item in the collection using query that searches for the user’s _ID and then updates the data to the item.
In case that the _ID cannot be found (meaning the user does not exists in your collection), just save the data to the collection (with the user’s info) and a unique _ID will automatically be assigned to it.
Hope that helps!
Doron