Buy Now
Sign in

Add a red asterisk in Chronoforms 6 required fields

hatzisn , February 25 at 12:01
Hi every one,
I have a question. I have added some required fields in the form and when I hit preview inside the form's menu I see the red asterisk in required fields.
If I press [Save and Close] and then View I do not see the red asterisk in required fields. Please give me some direction on what to do...
Thanks in advance
Hi hatzisn ,
Please use your browser web-developer tools to check what is happening in your 'live' form. Possibly the font awesome file is not downloading, or some other CSS on your site is hiding the asterisks.
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
Hi GreyHead,
I loaded as you advised the developer tools and here is what I get:
Uncaught TypeError: Cannot read property 'forms' of undefined    ​
​ at Object.$.G2.forms.ready (51c670b043914aaa023c9ce2fa34e744.js:870)​
​ at HTMLFormElement.<anonymous> (?option=com_chronoforms6&chronoform=request:73)​
​ at HTMLBodyElement.dispatch (jquery.min.js:3)​
​ at HTMLBodyElement.r.handle (jquery.min.js:3)​
​ at Object.trigger (jquery.min.js:3)​
​ at Object.a.event.trigger (jquery-migrate.min.js:2)​
​ at HTMLFormElement.<anonymous> (jquery.min.js:3)​
​ at Function.each (jquery.min.js:2)​
​ at a.fn.init.each (jquery.min.js:2) ​
​ at a.fn.init.trigger (jquery.min.js:3)​
the javascript that causes the problem is cached as I see in the page source...
<script src="/libraries/cegcore2/cache/51c670b043914aaa023c9ce2fa34e744.js" type="text/javascript"></script>
you can see live the whole form at:
The content here is visible only for authorized users.
Does that cegcore2 stands for chronoengine core2 or is it irrelevant?
Any help would be highly appreciated as I do not know jQuery.
Thanks in advance...
Hi hatzisn ,
I can see the error message but I don't know what is causing it, there is some conflict with other code on the site as if I view the form without the template the asterisks show correctly.
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
The newsletter module on the page is loading another version of jQuery, this breaks some code dependent on the first loaded one, its a wrong practice to do this.
Best regards
If your main question got answered then please mark the answer using the button!​
​Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!
Thanks admin,
I completely removed the newsletter module and now everything works perfect.
Huge thanks!!!