Cancel Submission on Edit

  • Profile Image
    karen_hind
    Asked on November 02, 2021 at 11:34 PM

    Hi,

    I'm creating a Leave Request form and would like to be able to allow the user to cancel the request (such as the holiday isn't going ahead anymore). This should be able to happen whether the form has already been approved or not.

    On searching, I understand I need to use the Get Form URL widget and use conditions to show a Cancel option.

    However I think this should be more official like a submit or approve button and go to another queue in the approval flow (Submissions list).

    Perhaps it should warn, "are you sure you want to cancel this request"?

    Thanks

  • Profile Image
    Ahmed_S
    Answered on November 03, 2021 at 05:07 AM

    Hello Karen,

    If you've managed to show a cancellation option when the form is opened with edit link as instructed in our guide, then you can easily use SHOW/HIDE FILED condition to show a paragraph with a the warning message when the Cancel option is selected by the form respondent.

    1635929998_61824f8e5c753_screen2.gif

    Please check this demo form in this link https://form.jotform.com/213061858176055, you can also clone it to your account so you can review it in the form builder.

    How to Clone an Existing Form from a URL

    Please let us know if you need further assistance, we are happy to help.


  • Profile Image
    karen_hind
    Answered on November 03, 2021 at 07:45 PM

    Thanks Ahmed_S,

    Yes, I've managed to do all that and I will be able to show the paragraph warning if cancel is selected. I've used multi-choice and only provided Cancel as an option because all the others are already automated through the Approval Flow.

    I would be grateful if you could add the following to feature requests:

    Please create a "cancel" button similar to submit button which appears for a user upon edit (after successful submission). This should redirect the form to a Cancelled queue in Approval Flow (Submissions list).


  • Profile Image
    JohnRex
    Answered on November 03, 2021 at 09:42 PM

    Actually, what you want is possible. You can create a conditional branch to achieve that. Here's an example structure:

    1635990098_61833a523ee4c_

    1635989952_618339c0e8e99_

    Here's the condition 1:

    1635989992_618339e886730_

    And here's condition 2:

    1635990015_618339ffbce3c_

    Please try that and see if that'll work for you.