Forum Discussion

Marc_Laf's avatar
Marc_Laf
Iron Contributor
Aug 20, 2020

Cancel a form based on answers?

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.

  • Marc_Laf no there is no way at all to do that with Forms.

     

    Rob
    Los Gallardos
    Microsoft Power Automate Community Super User

  • RobElliott's avatar
    RobElliott
    Silver Contributor

    Marc_Laf no there is no way at all to do that with Forms.

     

    Rob
    Los Gallardos
    Microsoft Power Automate Community Super User

      • MSUM_Clifferton's avatar
        MSUM_Clifferton
        Brass Contributor

        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.

         

         

Resources