Conditional field based on someone editing their form?

  • StPetersFL
    Asked on February 27, 2018 at 7:21 AM

    Is there any way to make a field appear if and only if someone comes back to edit their form? We are forwarding our form responses to Asana and are having a hard time quickly identifying what has been edited and are considering adding a field that appears only when someone edits the form and having them note changes in that field (rather than editing their previously submitted information)


    I suppose we could duplicate the form and make all of the fields auto-fill/read-only with the exception of one field at the very end of the form (but that seems like a crud-ton of work - especially if there is a simpler way to do it)

  • Mike_G JotForm Support
    Replied on February 27, 2018 at 9:24 AM

    I can only assume that you have already set up a way for others to edit the data they have submitted in your form. What you need to add to your form is the Get Form Page URL widget. The value produced by that widget is the parent page URL. You can use that to conditionally show a particular field if the value of the widget contains the word "edit".

    Here's an example:

    Link to the form — https://form.jotform.com/80573585343967

    Edit link to one of the submissions made on the form above — https://www.jotform.com/edit/3955504365617571344

    The Comments field in the form will only show if the form is in edit mode.

    Here's how it is set up:

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

    1519741127t09 17 28 Screenshot 10

    2. Set up the condition.

    1519741165t09 16 41 Screenshot 21

    I hope this helps. You may also use this guide as a reference — A-General-Approach-on-Building-an-Approval-Process-Workflow

    If you have other questions, please feel free to let us know.

  • StPetersFL
    Replied on February 27, 2018 at 12:34 PM

    Mike G,
    That works perfectly - thank you!