Forum Discussion
Cancel a form based on answers?
- Aug 20, 2020
Marc_Laf no there is no way at all to do that with Forms.
Rob
Los Gallardos
Microsoft Power Automate Community Super User
Marc_LafThe answer to this has either 1) changed since 2020 or 2) is more complicated than Rob stated.
Using Branching and Sections, you can make Forms do this.
- Create a new section with title and subtitle explaining why the survey ended.
- Use branching to indicate to go to the section based on response.
- At end of section, use branching to go to the end of the form.
- Be sure to use branching to tell what to do if the survey didn't end, so that respondents don't accidentally end up on the "survey ended" section.
Here are some pictures:
This first one shows general question setup.
This next one shows the branching required to make it work.
I'm sure you are already done with whatever project, but wanted to update for future visitors.
I have inserted a section advising the responder cannot progress any further and then added branching directing them to an additional section which says they must go back and consult with their manager if they selected "no". I've then added branching on that new section to "end of form", but the Submit button is at the end of the form - so they can still submit. It doesn't stop the form.
- Rob_ElliottNov 14, 2023Bronze Contributor
Naomi75 indeed, my earlier answer still applies; there is no way within the form to cancel it and whatever you the submit button will still be there. You could suggest they close their browser tab but that's not really a solution.
Rob
Los Gallardos
Microsoft Power Automate Community Super User.
Principal Consultant, SharePoint and Power Platform WSP UK (and classic 1967 Morris Traveller driver)- Naomi75Nov 14, 2023Copper ContributorHi Rob_Elliott,
Thank you - that's ok. I've created a couple of workflows instead that if they answer "no" and then still hit "submit" they will receive an email telling them they're submission has been rejected.