I can't seem to figure out why the get form URL is needed.

  • Profile Image
    kwinskobs
    Asked on March 01, 2018 at 09:28 PM

    I can't seem to figure out why the get form URL is needed. I must be missing something...?



    This is a re-post of a comment on A General Approach on Building an Approval Process Workflow

  • Profile Image
    Nik_C
    Answered on March 02, 2018 at 02:04 AM

    A get URL (https://widgets.jotform.com/widget/get_form_page_url) is needed so you can determine if the page is visited in edit or regular mode.

    Since when your users edit the submission, a word "edit" will appear in URL, and you can use that state to initiate some further actions that you need.

    For example, you can show/hide the certain field(s) or do some calculations etc.

    Let us know if you have any further questions.

    Thank you!

  • Profile Image
    kwinskobs
    Answered on March 02, 2018 at 08:59 AM

    My apologies - I am still confused.  I pulled the instructions so I can use a form for what is really a workflow function - with an update by compliance folks later.  The emails with autoresponder and notifications gives the URL link... but the "get form URL" doesn't actually do anything in the form.  Does that mean I merely use it when building the form but hide it?  Does that mean that without that in the form the "{edit_link}" function won't work?

  • Profile Image
    BJoanna
    Answered on March 02, 2018 at 10:58 AM

    Please note that the Get Form Page URL will not be shown on the form. The widget is used to check the URL of the form and it can detect a word 'edit' that will be added to the URL when the form is edited. This will allow you to set some additional conditions to the form if necessary. For example, show, disable or hide some fields in the edit mode. This screenshot from the guide is set for the Get Form Page URL widget.

    1520006087edit1.JPG

    You do not have to add this widget to your form. The {edit_link} from the emails will work even if you do not have this widget in your form.