I’m setting up a registration form and want to have a table with a list of participants on the same page. I’ve got that working okay, but cannot figure out how to get the table to reload to include the new information when the form is submitted. I’ve looked through the documentation and have tried adding the code to refresh the dataset and table, but just can’t get it to work.
Here is a link to the page in question:
https://www.academicchallengetheflyingcow.com/creative-writing-workshop-registrat
I’d like the list of names to update when the submission button is clicked.
You can either use refresh on your dataset after everything has been submitted and saved etc.
https://www.wix.com/corvid/reference/wix-dataset.Dataset.html#refresh
Or you can simply refresh your page after everything has been submitted and saved etc.
wixLocation.to(wixLocation.url);