Aug 20 2020
08:00 AM
- last edited on
Aug 03 2023
10:34 PM
by
TechCommunityAP
Aug 20 2020
08:00 AM
- last edited on
Aug 03 2023
10:34 PM
by
TechCommunityAP
Is it possible to cancel the form based on answers from branching?
For example if you answer Yes to a question it continues on but if you selected No it would cancel the form and not let you submit? If you create a custom response section that says "sorry your request was cancelled due to answer" there is still a Submit Form button at the end.
Aug 20 2020 10:56 AM
Solution@Marc_Laf no there is no way at all to do that with Forms.
Rob
Los Gallardos
Microsoft Power Automate Community Super User
Jul 21 2023 12:04 PM
@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.
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.
Jul 21 2023 12:18 PM
@MSUM_Clifferton thanks for the update on this.
I wish I could remember what I was using Forms for that prompted this question though! haha.
Nov 08 2023 04:29 PM - edited Nov 08 2023 04:30 PM
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.
Nov 14 2023 05:12 AM
@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)
Nov 14 2023 12:53 PM
Aug 20 2020 10:56 AM
Solution@Marc_Laf no there is no way at all to do that with Forms.
Rob
Los Gallardos
Microsoft Power Automate Community Super User