Hi there.
I am using Chronoforms v6 and i think it is awesome.
I have one significant problem.
I am using SP Page Builder and till now when i was using chronoforms v5 and loading a CF module inside sp page builder, everything works just fine.
When i am loading cf 6 module the fields does not validate (required) and the form is send without checking.
I have check with the same template the CF v5 and everything works like a charm (there is no some kind of confilct).
TIP: When i am using a typical menu with the same cf6 form, the validation works fine!!!
I am using Chronoforms v6 and i think it is awesome.
I have one significant problem.
I am using SP Page Builder and till now when i was using chronoforms v5 and loading a CF module inside sp page builder, everything works just fine.
When i am loading cf 6 module the fields does not validate (required) and the form is send without checking.
I have check with the same template the CF v5 and everything works like a charm (there is no some kind of confilct).
TIP: When i am using a typical menu with the same cf6 form, the validation works fine!!!
Hi Pansgr,
Then something on SP page builder conflicts with v6, I can't tell what without testing the page.
Best regards,
Max
Then something on SP page builder conflicts with v6, I can't tell what without testing the page.
Best regards,
Max
When i am using the form (outside page builder) is working fine and the code it produces is the following
When i am loading the module inside the page builder, the code is the following (in red lines, when i am seeing the code in page source)
The only difference is that inside the page builder there is " instead of "
<select data-validationrules="{"identifier":"title_id-main","rules":[{"type":"empty","prompt":"Please select a title"},{"type":"required","prompt":"Title"}]}" data-validate="title_id-main" data-events="[]" name="title" id="title_id" data-mincharacters="0" type="select" class="ui dropdown" ><option value="" ></option>
<option value="mr" >Mr.</option>
When i am loading the module inside the page builder, the code is the following (in red lines, when i am seeing the code in page source)
<select data-validationrules="{"identifier":"title_id-main","rules":[{"type":"empty","prompt":"Please select a title"},{"type":"required","prompt":"Title"}]}" data-validate="title_id-main" data-events="[]" name="title" id="title_id" data-mincharacters="0" type="select" class="ui dropdown" ><option value="" ></option>
<option value="mr" >Mr.</option>
The only difference is that inside the page builder there is " instead of "
So, for future reference
components\com_sppagebuilder\parser\addon-parser.php
line 317
Change this
to
This line converts " to " and that conversion causes the problem
components\com_sppagebuilder\parser\addon-parser.php
line 317
Change this
return htmlspecialchars_decode(AddonParser::spDoAddon($output));
to
return htmlspecialchars_decode(AddonParser::spDoAddon($output), ENT_NOQUOTES);
This line converts " to " and that conversion causes the problem
This topic is locked and no more replies can be posted.