Can I disable the Edit Submission URL after someone completed the necessary edit?

  • Profile Image
    megankuek
    Asked on August 01, 2019 at 08:58 AM

    Hi Jotform Support Team,

    I have followed this URL format (www.jotform.com/edit/submission id) to allow user to edit his / her submitted form.

    This is good because I can share the link only when I need them to edit some feedbacks in the form.

    Please advise whether I can 'disable' the shared URL link after he / she has completed the necessary edit?

    Reference link : https://www.jotform.com/answers/1818925-How-to-allow-users-to-edit-their-submissions-without-including-it-in-an-email-autoresponder

    Thanks in advance!

    Best Regards,

    Megan

  • Profile Image
    Welvin
    Answered on August 01, 2019 at 10:23 AM

    Hi Megan,

    You can do the following.

    1. Add the Get Form Page URL widget in the form.

    http://widgets.jotform.com/widget/get_form_page_url

    Guide to add a widget: https://www.jotform.com/help/252-How-to-Add-a-Widget-to-your-Form.

    2. Add a Text field with your notice that they can no longer edit their submission.

    3. Add conditional logic to show the Text when Get Form Page URL contains the particular ID that you'd like to disable edit, and another rule in the same logic to hide all other fields. See below for example:

    You can have multiple IDs in the same conditional logic. Just please separate them with a comma, and space. 

    You can see the output here: https://www.jotform.com/edit/4402341838134110233

    Here's the main form https://form.jotform.com/92006775351961

    I hope that works for you. Please let us know if you need further assistance. 

  • Profile Image
    megankuek
    Answered on August 02, 2019 at 12:26 AM

    Hi Welvin,

    Thank you for your prompt support.

    Tested on your suggested solutions.  It works on the Classic Form only but this is good enough for me. :)

    Just like to inform that the Card Form just displayed a 'blank' page only without any words although the same logic has been applied.

    Best Regards,

    Megan

  • Profile Image
    megankuek
    Answered on August 06, 2019 at 05:23 AM

    Hi Welvin,

    I just tested the suggested solutions on another form but it showed some fields although I have select all in 'Hide Multiple'.

    Below is the screenshot:

    1565083384Problems with Hide Field after


    Please advise.

    Best Regards,

    Megan

  • Profile Image
    Welvin
    Answered on August 06, 2019 at 07:41 AM

    Hello Megan,

    I think there are conflicts in the conditional logic. You have a few show/hide conditions in the form. I am checking this for you. I'll let you know once I have the solution. 

  • Profile Image
    Welvin
    Answered on August 06, 2019 at 08:06 AM

    In your conditional logic, I see you have If Not Equal To conditions. So, what you would like to do is to only show the corresponding text field when 2nd and 3rd options are chosen. Is this correct?

    So, for example, you would like to show "Remarks - Overall Product Display" when "Q1a. How was the overall product display?" is equal to the following:

    Slightly messy. However, shop staffs were tidying up or unable to tidy up because of serving customers

    Messy, but shop staffs were not serving customers

    Technically, you should do the opposite which is the If Equal To. That way, your logics won't create a conflict in the form and should solve your problem on the edit URL. 

    Lastly, I see that the page tab widget is not hiding. Unfortunately, I see no workaround to this. I guess this will work for you for as long as the fields under each tab are hidden. 


  • Profile Image
    megankuek
    Answered on August 06, 2019 at 10:42 AM

    Hi Welvin,

    Thank you very much for the solution, it works! :)

    I was thinking that selecting just one 'for not equal' condition is easier, never thought that it will be an issue when you allow editing using URL.

    Once again, really appreciate your prompt response.

    Best Regards,

    Megan