Can I add some check on submit button click?

  • Profile Image
    pargev2010
    Asked on August 07, 2020 at 02:42 PM

    can I add some check on submit button click?
    I use the Weekly Appointment Planner widget and I want to check available places during the submit button, to avoid parallel submissions

  • Profile Image
    KrisLei
    Answered on August 07, 2020 at 04:26 PM

    Hi,

    "can I add some check on submit button click?"

    I have checked your form, to verify are you referring to the Review Before Submit widget? My apologies for the confusion, can you provide us with additional details with your requirements? 

    "...to avoid parallel submissions"

    If you are referring to prevent duplicate submissions, you can enable the set Unique Questions option on the form's settings, please refer to this guide: How-to-set-Form-Limits-Based-on-a-Unique-Question

    Please let me know If in any case, I misunderstood your question. Thank you.

  • Profile Image
    gerardw
    Answered on August 08, 2020 at 08:23 AM

    When you use the Appointment Planner widget - when you use one place, it automatically disables that widget for the next user.

    So when user 2 fills the form, they see the widget as disabled and also that there are no places available:

    15968890940808_11.png

    Else, you can add a Text (paragraph) field on the form and show it on the form using conditions:

    15968893550808_12.png

    You can check this demo form: https://form.jotform.com/202202982039955 (select the second option from the first question.

    Do review and let us know if that helps



  • Profile Image
    KrisLei
    Answered on August 08, 2020 at 07:04 PM

    Thank you for the additional details.

    I have watched the video of the issue you are referring to. Kindly give me more time to test it further on my end and see if there's a workaround for your requirements. 

    I will get back to you as soon as possible. Thank you. 

  • Profile Image
    KrisLei
    Answered on August 08, 2020 at 08:18 PM

    Thank you for patiently waiting. 

    It seems that your requirements are possible with the Quantity Gift Registry widget, the widget automatically update the quantity when a user submits the form.

    For reference: Quantity Gift Registry

    It will show an error message when a user selects an item that is no longer available even when the form is accessed on a different location, browser or device. Please refer to my screencast below:

    1596930033test form.gif

    You can also customize it similar to the format on the Weekly Appointment Planner widget. 

    However, when I tried the Weekly Appointment Planner on my end using a different form its behaviour is similar to the Quantity Gift Registry widget:

    1596931933test form1.gif

    This could be a bug on your form but before I escalate this to our developers, please try to click on the Update button on the widget and try a test submission again.

    1596932184Widget.JPG

    I have also cleared your form cache on my end as well, let's see if it will make a difference. 

    Kindly get back to us to confirm if the issue persists. Thank you.

  • Profile Image
    pargev2010
    Answered on August 30, 2020 at 05:28 PM
    Hi
    why do I see 404 error for my forms?
    e.g. https://form.jotform.com/202104805272444
    Thanks
    ...
  • Profile Image
    gerardw
    Answered on August 30, 2020 at 06:53 PM

    Hello,

    When  I opened your form, I am not viewing any 404 error:

    15988279363108_1.png

    Where are you seeing the 404 error? Is it while opening the form or submitting the form?