How to add a cancel order link in the email

  • rahulchavan34
    Asked on December 15, 2020 at 5:25 AM

    Hello,

    I would like to give the user an option to cancel the form he just submitted. Is there a way to do this ? I will send him a follow up email as soon as he submits the form and in this email i want to give the option to cancel the form he submitted. How can i do this ?

  • Johann_A
    Replied on December 15, 2020 at 5:44 AM

    Hello !

    The only way to process this is by giving them a link to edit the submission. We do not have something to cancel the submission, but the edit link is a workaround. 

    1590762600edit subbbb Screenshot 10

    Please check out this guide to know more: -How-to-Let-Users-Update-Their-Form-Submissions-at-a-Later-Date

    If you need further assistance, please let us know.

    Johann

  • rahulchavan34
    Replied on December 15, 2020 at 6:04 AM

    No, I dont want the user to edit the form. I have already used this in the mail. I would like to somehow take a cancellation request as well. Do you have any suggestion as to how to do this?

  • Lorenz JotForm Support
    Replied on December 15, 2020 at 7:05 AM

    Hi there,

    Sadly, we do not have such a feature. A workaround would be adding a single choice field, wherein the user will have to choose if they want to cancel or remove their data from your account, but this process is only possible using the edit link.

    Take note that the removal/deletion of data will be manually processed by the form owner using the filter option in the JotForm table.

    1. Add a single choice field.

    1608032427 5fd8a0ab08ea6 test   2020 12  Screenshot 10

    2. Add Get Page URL widget.

    3. Add a SHOW/HIDE FIELD condition. Set the condition to hide all the fields if the GET PAGE URL widget contains the word "edit" and only keep the Single choice field visible. So if the edit link is opened, it will only show the option to cancel the order.

    1608032766 5fd8a1fee086f test   2020 12  Screenshot 21

    You will also need to add a condition to show the single choice field only if the GET PAGE URL widget contains the value "edit".

    1608033062 5fd8a3267884a test   2020 12  Screenshot 32

    Then do what my colleague has suggested above, adding the edit link in the Autoresponder email so they will have an option to make that request.

    Once they've open the edit form, they will only see the single choice field, and if submitted, you will need to delete the submission manually from the JotForm table. Using the Filter option, it will be easier for you to find those who has chosen "Yes" to cancel their order.

    1608033888 5fd8a660eeb4e test   2020 12  Screenshot 43

    Guide: https://www.jotform.com/help/1009-how-to-use-different-filters-to-easily-manage-your-data-in-jotform-tables

    Here's a sample form: https://form.jotform.com/203492474726057

    Please give it a try and let us know if that meets your requirement.