Auto submit a form from a URL?

  • Profile Image
    pamhstein
    Asked on February 20, 2023 at 9:25 PM

    Is it possible to not only populate the form from a URL, but also have the form autosubmit?

    I tried https://jotform.com/########?field=data&submit=Submit

    This did not work.

    Thank you.

  • Profile Image
    Jotform Support Former Jotform Support
    Replied on February 21, 2023 at 1:30 AM

    Hi pamhstein,

    Thanks for reaching out to Jotform Support. I understand that you would like to auto submit a form using form URL. I'll need a bit of time to look into this and will get back to you as soon as I can. Thanks for your patience and understanding.

  • Profile Image
    Jotform Support Former Jotform Support
    Replied on February 21, 2023 at 1:55 AM

    Hi pamhstein,

    Thanks for patiently waiting. I looked into your requirements further and I was able to find out a way for you to achieve this. You can achieve this by using a Global Countdown widget on the form. Let ms walk you through the steps:

    • In the Form Builder, click on Add Form Element from the top left corner.
    • Go to the Widgets tab from the opened window on the left.
    • Search for the Global Countdown widget and drag it to the form.
    • Set up Time (Hours/Minute/Seconds) property of the widget from the opened window on the right as per your requirements.
    • Next set the Action to Submit form. That's all.

    1676962290 63f469f22a05f  Screenshot 10

    Additionally, you could clone my test form (https://form.jotform.com/230508817148054) to see the widget settings and to do more tests on it. See the demo of the above setup in the screencast below:

    1676962444 63f46a8c83664  Screenshot 21

    Give it a try and let us know how it goes.

  • Profile Image
    yunasch82
    Replied on February 21, 2023 at 7:35 AM

    Yes, it is possible to prepopulate a form from a URL and also have the form autosubmit. However, the method of achieving this may vary depending on the form platform you are using.

    In the case of JotForm, the correct URL format for prepopulating and autosubmitting a form is:

    https://form.jotform.com/FORMID?field1=value1&field2=value2&submit=Submit

    Replace "FORMID" with the ID of your form, and "field1=value1" and "field2=value2" with the field names and corresponding values you want to prepopulate. You can add as many field=value pairs as you need, separated by "&".

    To enable autosubmit, you can include the parameter "&nojump" at the end of the URL.

    So, an example URL that prepopulates a JotForm form with two fields and autosubmits it would be:

    https://form.jotform.com/FORMID?field1=value1&field2=value2&submit=Submit&nojump


    Make sure to replace "FORMID" and the field names and values with the appropriate values for your form.