Just a quick one. If the user has already submitted data to the dataset and is trying to update it, I want to populate all of the input fields according to the information they have already submitted.
I assume this gets added in the section that is querying if the user has submitted data before.
I am currently using this:
wixData.get("Properties",$w('#id').text)
.then((result)=>{
result.title=$w('#input2').value
result.agentEmail=$w('#input3').value
The problem is that it is bringing up someone else’s information. I need it to display the information of the person that has already submitted information.