I made a form with al lot of fields set to required. I checked it in de form code and it says input class="cf_inputbox required" for the fields I set on required.
When I open the site an press the submit button the form is send without filling in any data and I recieve in my mail a nice blank form.
Johan Gols
Hi Johan,
This usually means that there is a JavaScript conflict with something else on your site.
Please post a link to the form so we can take a quick look.
Bob
I changed the plugin Mootools upgrade for the site to 1.12 ( was 1.2) and the problem was solved. Can this also cause the disappearing of the link ?
Hi Johan,
FYI ChronoForms v3 requires MooTools 1.1; ChronoForms v4 requires MooTools v1.2
This shouldn't affect a link in the form code, and the link shouldn't disappear either. But if you used the rich editor to enter a link by typing the tags that may not work. Use the Link button, or edit the HTML directly.
Bob
I'm using v 3.2.0 now with Mootools 1.12 and the problem is solved. I will upgrade to V4.
I inserted the link in Form code > form HTML and it worked for a few days. I have reinserted the link in the same way and its working perfect.
Thanks for the quick answer.
Johan Gols
Hi Mark,
If JavaScript is disabled then your form submits with blank values - which is what you'd expect. You need to add some serverside validation to prevent that.
What is more worrying is that it submits when the ImageVerification is empty which suggests that you don't have a Check Captcha action set up with an Event Loop in the OnFail box.
Bob
Hi Bob,
hmmm. stupid me... forgot to enable the captcha check ;-// normally i allways do so.
javascript is enabled. and there are several fields who are required.
so is there any other way one can send an empty form?
kind regards,
Mark
Hi Mark,
The problem is if the user/bot's browser has JavaScript disabled. That just bypasses all the browser-side validation.
In general treat the browser-side validation is being there to help the genuine user complete the form correctly and use server-side validation to validate that you are only allowing valid results.
Bob
ok. thanks.
will check this and hopefully the empty form are history.
kind regards,
Mark