Forums

Form sent even if required fields are not filled in

crealiagroup 17 May, 2019
Some fields are required but the form is sent even if none of the field is filled in, the console show NO JS error. Whatìs wrong? Could you please help us?

This is private content


Thanks in advance
GreyHead 18 May, 2019
Hi crealiagroup,

I don't see a form on the page you linked to?

Bob
crealiagroup 19 May, 2019
Ho Bob and thanks for reply, please take a look at this section:

This is private content


As you can see here, we have a multi step form starting with a description step, you need to click on the button to go to the next step of the form where you can fill in fields.
GreyHead 19 May, 2019
Hi crealigroup,

If I look at the form without the template
https://www.your_domain.com/en/index.php?option=com_chronoforms6&chronoform=formdemo&tmpl=component

Then at Step 1 I see a bunch of JavaScript errors:
index.php?option=com_chronoforms6&chronoform=formdemo&tmpl=component&event=step1:113

Uncaught TypeError: Cannot read property 'top' of undefined
at HTMLDocument.<anonymous> (index.php?option=com_chronoforms6&chronoform=formdemo&tmpl=component&event=step1:113)
at u (jquery.min.js?e99b6a5f17336293fc4fb966dc0cac1b:2)
at Object.fireWith [as resolveWith] (jquery.min.js?e99b6a5f17336293fc4fb966dc0cac1b:2)
at Function.ready (jquery.min.js?e99b6a5f17336293fc4fb966dc0cac1b:2)
at HTMLDocument._ (jquery.min.js?e99b6a5f17336293fc4fb966dc0cac1b:2)
(anonymous) @ index.php?option=com_chronoforms6&chronoform=formdemo&tmpl=component&event=step1:113
u @ jquery.min.js?e99b6a5f17336293fc4fb966dc0cac1b:2
fireWith @ jquery.min.js?e99b6a5f17336293fc4fb966dc0cac1b:2
ready @ jquery.min.js?e99b6a5f17336293fc4fb966dc0cac1b:2
_ @ jquery.min.js?e99b6a5f17336293fc4fb966dc0cac1b:2
[Violation] Forced reflow while executing JavaScript took 30ms
ga-audiences:1

GET https://www.google.fr/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-137491453-2&cid=1268815101.1558164482&jid=63678475&_v=j75&z=1058559479&slf_rd=1&random=3570627385 400

I'm not sure what is causing these but they would explain the failure to validate.

Bob
This topic is locked and no more replies can be posted.