- BenAnswered on November 13, 2014 at 02:31 PM
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.
- AvrohomYisroelAnswered 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.
- BenAnswered on November 13, 2014 at 04:24 PM
Do take a look and let us know if you have any questions afterwards.
- AvrohomYisroelAnswered on November 18, 2014 at 11:14 AM
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
- BenAnswered on November 18, 2014 at 11:32 AM
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.
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.
- AvrohomYisroelAnswered 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.
- JotForm SupportdavidAnswered 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.