Hello,
I want to create a form for collected registrations and for this purpose I take this example for trials.
In SETUP I insert java-script-code in the box of LoadJavaScript-Action, this action is in onload-event. The HTML-Render-Action follows it in the same event.
And now the problem: It has no effect. In sourcecode I don't see the Java-Script Code. The view shows only the form with 10 fields and 5 buttons.
I use CF5 and I notice that this problem appears in everey forms (only myself?) - or I forget anything?
Michael
I want to create a form for collected registrations and for this purpose I take this example for trials.
In SETUP I insert java-script-code in the box of LoadJavaScript-Action, this action is in onload-event. The HTML-Render-Action follows it in the same event.
And now the problem: It has no effect. In sourcecode I don't see the Java-Script Code. The view shows only the form with 10 fields and 5 buttons.
I use CF5 and I notice that this problem appears in everey forms (only myself?) - or I forget anything?
Michael
Hi Michael,
In my experience the Load JavaScript action loads the script as expected.
Please post a link to the form so I can take a quick look.
Bob
In my experience the Load JavaScript action loads the script as expected.
Please post a link to the form so I can take a quick look.
Bob
Hi Michael,
I spotted two problems.
+ The Load JavaScript action has a line of HTML at the beginning that creates a JavaScript error. I have commented that out.
+ Your template isn't loading any of the ChronoForms CSS or JavaScript files. If you load the form without the template with http://your_domain.de/index.php?option=com_chronoforms5&chronoform=collectedregistration&tmpl=component then it works correctly.
Bob
I spotted two problems.
+ The Load JavaScript action has a line of HTML at the beginning that creates a JavaScript error. I have commented that out.
+ Your template isn't loading any of the ChronoForms CSS or JavaScript files. If you load the form without the template with http://your_domain.de/index.php?option=com_chronoforms5&chronoform=collectedregistration&tmpl=component then it works correctly.
Bob
Hi Bob,
many thank for your help.
I did forget to set the jdoc Head-Include in the index.php. It was worked the whole time without that and it explains some anomaly with chronoforms (I think now, CF isn't guilty😉 ). Perhaps, its a reason for my previous problem with the CSV-Export and I will take this problem again...🙂
Schöne Grüße aus D🙂
Michael
many thank for your help.
I did forget to set the jdoc Head-Include in the index.php. It was worked the whole time without that and it explains some anomaly with chronoforms (I think now, CF isn't guilty😉 ). Perhaps, its a reason for my previous problem with the CSV-Export and I will take this problem again...🙂
Schöne Grüße aus D🙂
Michael
This topic is locked and no more replies can be posted.