Forums

Form has required fields, but doesn't seem to check them on submit?

Matten 02 Mar, 2014
Hello (and good morning),

I have a form (http://www.psvbadmintonbrugge.com/CMS25/index.php/test-fpss-2) that worked fine before, but all of a sudden (?) just stopped doing any validation. (to my knowledge without me having changed anything):

The form has a bunch of required fields on them (those marked with *) but when you submit the form, it just goes ahead and shows the user what you can see in the screenshot that I attached.

I already checked the form settings over and over again, but I don't seem to find anything that explains this although I believe that it probably must be something very simple.

So if anyone could help me find out what's wrong here, that would be very nice.

Thank you in advance,
Matt.
GreyHead 02 Mar, 2014
Answer
HI Matten,

You have some JavaScript attached to an element with the id 'internecompetitiekeuze' but the element doesn’t exisit in your form, it looks as though it has been edited and there are now checkboxes with the names input_checkbox_group_18_0 and input_checkbox_group_18_1

Bob
Matten 02 Mar, 2014
Hey Bob,

Thank you for pointing that issue out! I removed the javascript attached to that non existing element and that solved the issue with the validation not being done.
Only just now I have one more "thing": The whole "data Array: { ...." and so forth being shown after submit, what is that about?
GreyHead 02 Mar, 2014
Hi Matten,

That's the Debugger output, it gets turned on when you switch from the Easy Wizard to the Normal Wizard. Delete the Debugger action in the form ON Submit event by Clicking the red X icon.

Bob
Matten 02 Mar, 2014
Super Bob. Your help really made my day.
Thank you again!
Case closed :-)
This topic is locked and no more replies can be posted.