Forums

Problems with "required" validation of the fields after update.

ikub 30 Mar, 2015
Hi everyone!
I created multipage form with a lot of parameters, calculations custom code, etc. It was a big job, so CF5 had updated twice (it seems to me🙂 ). After last one, my fields, marked as "required" allow to user submit page with empty fields. In the "code" section I can see the next code:
<input name="text308" id="text308" value="" placeholder="" maxlength="" size="" class="validate['required'] form-control A" title="" style="" data-inputmask="" data-load-state="" data-tooltip="" type="text" />

Plus, the "hidden" parameter for containers on loading doesn`t work too.
Please help.
GreyHead 30 Mar, 2015
Hi Ikub,

It sounds as though you have a JavaScript error on the page when the form is displayed. Do you see any error in your browser web developer tools if you check the JavaScript console?

Bob
ikub 30 Mar, 2015
Hi, Bob,
thank you for reply. Actually, I can`t find solution in JS console. The Audit shows some warnings, but I think, it is about optimization.
May be you`ll have a look?
http://form.porapokushat.com/index.php?option=com_chronoforms5&chronoform=multitable4.7php
Thanx in advance.
Ikub.
GreyHead 30 Mar, 2015
HI Ikub,

Please try changing the name of the form to remove the . e.g. multitable4_7php - I think that will fix the problem. The form name is used in the code as a variable name and the . may cause problems.

Bob
ikub 30 Mar, 2015
Well, now it works, but one mistake appeared again (like earlier) - only first tab loading. When pushing any other tab, form disappears.
http://form.porapokushat.com/index.php?option=com_chronoforms5&chronoform=multitable7
Ikub.
GreyHead 31 Mar, 2015
Hi Ikub,

I don't see any tabs on the page you linked to.

Bob
ikub 31 Mar, 2015
Hi, Bob!
It`s on page 3.
Ikub.
GreyHead 31 Mar, 2015
Hi lkub,

Thanks I found it and took a look. I don't see any errors but the tabs are not working at all. Does the demo-tabbed-form form work correctly on your site?

Bob
ikub 31 Mar, 2015
Hi, Bob.
Yep, it works correctly. It`s strange a little, but my form with name "multitable4.6.6php" works ok, exept "required" fields.
Have a look, it`s funny:
http://form.porapokushat.com/index.php?option=com_chronoforms5&chronoform=multitable4.6.6php
Ikub.
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger