What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Form should not submit when e-signature isn't signed

    Asked by Avrohom Yisroel Silver on November 13, 2014 at 12:51 PM
    1) If I don't sign the form, then I see a very brief red warning, but the form is submitted anyway. How do I prevent the form from being submitted if they haven't signed?
    e-signature widget
  • Profile Image

    Answered by Ben on November 13, 2014 at 02:31 PM

    Hi Avrohom,

    Yes, you are right, when required, you should not be able to submit until the widget is filled out.

    You can see 2 of our widgets in action here: http://form.jotformpro.com/form/43165685882972

    They will not submit until both are signed.

    I took a look at your jotform, but did not see submit button.

    Best Regards,
    Ben

  • Profile Image

    Answered by AvrohomYisroel on November 13, 2014 at 03:20 PM

    Ah, I didn't include the JotForm submit button, I was using the one we already had. That probably explains it.

    I'll have a look at what impact using your button has on our code.

    Thanks

  • Profile Image

    Answered by Ben on November 13, 2014 at 04:24 PM

    Hi Avrohom,

    Do take a look and let us know if you have any questions afterwards.

    Best Regards,
    Ben

  • Profile Image

    Answered by AvrohomYisroel on November 18, 2014 at 11:14 AM

    Hello again.

    I tried creating a new form, adding a smooth signature widget, which also added the submit button. However, it still allows me to submit the form. I see the red warning, but the submit button says "Please wait..." and then I get the thank you message.

    I haven't altered the code at all, other than fixing the broken link to widgetResizer.js (which I reported in another post)

    Any ideas? Thanks

  • Profile Image

    Answered by Ben on November 18, 2014 at 11:32 AM

    Hi Avrohom,

    I took a look at your jotform and it does not have the field set as required.

    If you take a look at this jotform, which is a clone of yours with required tag on the signature widget you can see that it does not allow submission until you sign the jotform.

    http://form.jotformpro.com/form/43214330121940

    You can see the different on jotform being only the little red star next to the label.

    To set any field as required, just click on it and locate required option in the toolbar and click on it.

    Do let us know how it goes.

    Best Regards,
    Ben

  • Profile Image

    Answered by AvrohomYisroel on November 18, 2014 at 12:22 PM

    Ah, I didn't know you had to set the required flag explicitly.

    That's actually quite confusing then, because I didn't set the flag initially, but the signature control came up with a warning message. This could confuse people.

    Anyway, I set the flag and the validation is working now.

    Thanks

  • Profile Image
    JotForm Support

    Answered by david on November 18, 2014 at 01:04 PM

    On behalf of my colleague you are very welcome!  Let us know if you have any further questions and we will be happy to help.