I’m trying to make a Yes/No form and I would like when they select yes and hit submit, to keep the state of the selection when the get back to the page. Any way to do this?
Cognito-forms – Maintaining user submitted entries state so it can be viewed when page reloads in Cognito Forms
cognito-forms
Related Topic
- Cognito-forms – How to send confirmation emails to multiple respondent addresses when entries are submitted in Cognito Forms
- Cognito-forms – How to retain form data for subsequent entries
- Cognito-forms – How to filter and sort entries in Cognito Forms
- Cognito-forms – How to make only ON data in the form show up in the results
- Cognito-forms – Date search criteria in entries page in Cognito Forms
- Cognito-forms – Send results to multiple recipients based on value in form
- Cognito-forms – Import Cognito Forms data from another page
Best Answer
This is similar to the question: Keep Cognito form on every page
I believe this previous answer addresses your question by using an event (in this case window unload) to save the state of the entry to local storage. It then uses support for script-based prefill in Cognito Forms to prepopulate the saved entry when the form loads the second time.
You could similarly subscribe to the click event on the submit button using JQuery if you want to limit the save to this specific event.