Can a form tell if it is original data entry mode or edit mode?

  • Profile Image
    Asked on November 05, 2015 at 12:20 PM

    I'd like to be able to include conditional actions based on whether this is a new submission or an edit of an existing submission

  • Profile Image
    Answered on November 05, 2015 at 02:29 PM

    I am sorry to inform you, but we do not have any special conditions for submissions in edit mode.

    If you need any further assistance, please let us know. Thank you.

  • Profile Image
    Answered on November 06, 2015 at 07:07 PM

    Would it be possible to have a hidden field containing the value of of the &mode= parameter from the command line? This would contain the string "edit" when in edit mode. I would find this very useful.

  • Profile Image
    Answered on November 07, 2015 at 03:50 AM

    May we know in what way are you going to need it so we may check if there are other options available to achieve what you want, please?

    I tried to check the URL of the form in edit mode when in the submission page and it is within an iFrame.

    The source of the form in edit mode is like this

    Unfortunately, just like what my colleague, Mike, have mentioned, we do not have any special condition for forms in edit mode. Or a way to read the URL of the form in edit mode since it is within an iframe of the submission page. 

    I will submit this as a feature request to our developers so they may look into it. However, I cannot provide you any ETA to when this will be implemented but you will be notified via this thread if there are any findings and/or updates.

    Thank you.

  • Profile Image
    Answered on November 07, 2015 at 04:51 AM

    Thank you.

    You asked in what way I might need this ability. One situation is where a user opens the submitted form to inspect it, and subsequently decides to edit it. I'd like to have a field or a button that must be clicked in order to allow editing, in order to avoid accidental changes to the data. This field or button should only by visible in edit mode as it would be meaningless and confusing in initial data entry mode.

    I note that the "captcha" field manages to be hidden when the form is opened in edit mode. I wonder how that is controlled.

    By the way I've just realised that your example above is based on editing a submission from the submissions screen. What I am interested in, the editing from the {edit link} in the autoresponse or notification email. In this case the url ends with "&mode=edit", rather than including "&mode=inlineEdit". In any case, it is the value of "mode" that I'd like to have access to.

  • Profile Image
    Answered on November 07, 2015 at 11:44 AM

    Thank you for the clarification and additional information. To my understanding, you are aware that when you click the "Edit submission" link(whether if it's from the email notification or from the Thank-You page), it will open a submitted form on edit mode, correct? However, by doing so, the fields on the form are already editable and is not disabled by default.

    You can make the fields disabled by using conditions.

    You're correct, the "Captcha" field is on "display:none;" when on edit mode. To be honest, I'm not sure how that is controlled. But, you can use the Get Form Page URL widget to get the URL of the page you are currently in.

    Now for the workaround,

    We need to additional fields on the form to make this possible.

    1. DateTime Single widget - we will use this to trigger on load conditions. "If this widget is filled, then a condition will be triggered"

    2. Radio button field - that will enable and disable edit mode. Since buttons that are allowed on the form is a submit button, we will use a radio button that has a "Yes" or "No" option.

    3. Get Form Page URL widget - to get the current URL we are in.

    4. Text box - that will get the value of Get Form Page URL widget on load when the DateTime Single widget is filled.


    Add those fields on the form and make sure you name it according to its function to avoid confusion.

    Once you have added them, you can make the "DateTime Single" widget (using CSS) and the "Get Form Page URL widget value" field hidden by default. (You may still not hide them first for testing purposes just hide them after you have finalized your tests)

    Next thing to do is create a condition that when the "DateTime Single" widget is filled, the value of the "Get Form Page URL" widget will be passed to the "Get Form Page URL widget value" text box field.

    Then, create another condition that when the value of "Get Form Page URL widget value" text box field ends with "&mode=edit", then the "Enable edit" radio button field will "show" or unhide.

    and if it doesn't end with "&mode=edit", then hide the "Enable edit" radio button field. (This is for the normal form URL.)

    You also need to create another condition that will make the value of the "Enable edit" radio button field to "No" when on edit mode.

    After that, the only condition that's missing is the one that will disable all the fields when the value of the "Enable edit" radio button field "No". (Note: I have disabled the fields on the first page only but, of course, you can add all the other fields on the form in the condition using the "Add New Action" button).

    That's it. You can now test your form. This works on both edit submission link from Thank-You page and email notification.

    You can also try to make sample submission on the form I have used for testing.

    Here's the link:

    Please feel free to clone it to check the conditions I have added. 

    Note: Edited submissions will only be saved when the form is re-submitted. 

    I hope this helps. Let us know if you need any further assistance with any of the instruction or steps given above. Thank you.

  • Profile Image
    Answered on November 07, 2015 at 12:03 PM

    Fantastic, and thanks so much for all that effort. I shall try to replicate what you have done. I wish that I had known about the Get form page url widget earlier. It would have saved me a lot of effort, and avoided a lot of the questions I've been asking here.

    By the way when I click on the link in step 3 of your message above, it does open inforamtion about the widget, but it also gives an error message box in which the text is:-

    "A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue.


    Is this significant?

  • Profile Image
    Answered on November 07, 2015 at 07:31 PM


    We are glad to know that you achieved that you needed,we will let  you know when this feature is available.

    In regards to the widget, I'm able to see the widget without any error message.

    Try to clear the cache and try again :

    If you need more help, feel free to contact us.

  • Profile Image
    Answered on November 07, 2015 at 08:14 PM

    I am still getting that problem. It seems to be something to do with  a site being "black boxed". I suppose that's the same as being black listed.

    If it works, would I see any more than the page you show above? If not it doesn't really matter as I have installed the widget. If I could see more information about the widget, then I really would like to see it.

  • Profile Image
    Answered on November 07, 2015 at 09:29 PM

    On the page that I show above you will see the description of the widget, in the Reviews tab you will see what users are saying about this widget.

    But, I'm glad to know you already have installed the widget on your form, however , try to load the page again and share us a screenshot if is possible , that will help us.

    You can find help adding screenshots to the forum in this guide :


  • Profile Image
    Answered on November 08, 2015 at 04:25 AM

    When I click on , I get this screen for about 10 seconds:-

    AAfter about 10 seconds it changes to this:-

  • Profile Image
    Answered on November 08, 2015 at 09:03 AM

    I can see you are using Firefox Web Browser , you can find more information about the warning message and how to solve it in this guide :



  • Profile Image
    Answered on November 08, 2015 at 09:34 AM

    Thanks. I looked at that and increased the allowed time according to the suggestions in that guide. It now works. But it takes about 30 seconds to bring up the widget's screen. But it still does not give much information about the widget, including nothing about how it is used.

    I don't understand what the pictire is showing, what the "next" button is supposed to do, or how to use the "get now" button.

  • Profile Image
    Answered on November 08, 2015 at 11:40 AM

    The Next button will show you more screenshots, if there are any or if it's needed, on regards of the description and usage of the widget

    The "Get now" button will create a new form which will have the widget already included.

    What if you have created and built a form already? Simply go to the edit mode of the form and add the widget from the Widgets tab:

    As you can see nothing else appears on your form when you added it.

    So, how does it work?

    Let's say you embed the same form in three different websites, and you would like to know from which website the form gets submitted, that's when the widget comes to play, the widget captures the parent page URL where the Form is embedded, and you will visualize it through your email notifications, and your form's Submission View.

    Let us know if you have more questions, we will be glad to assist you.

  • Profile Image
    Answered on November 08, 2015 at 02:56 PM

    So basically there is no information about the widget, since the page shown has a meaningless picture and not much text, and the NEXT buton does nothing.

  • Profile Image
    Answered on November 08, 2015 at 03:27 PM

    Yes, the window only shows a description of the widget's function. There is no information about the widget and how it was built or how it works on the back-end if that's what you're looking for. 

    The Next button doesn't work because the slideshow section of the window only has one image.

    Thank you.