Hi,
I have a project with chronoform and chronoconnectivity.
Everything works OK, but during the project I need to manage directly my code and then I need to include a file rather than writing the code directly in the "Form HTML" chronoform field.
In certain case, write <?php include "file_path" ?> rather than <?php php_html_code_in_file ?> break the same code.
Is very complicating to manage php code inside database field rather than inside a file.
Is it possibile to make the two things exactly the same and not break the code?
Manage inside chronoform backend is the only way?
Can't Chronoform process an included file during save?
Thanks
I have a project with chronoform and chronoconnectivity.
Everything works OK, but during the project I need to manage directly my code and then I need to include a file rather than writing the code directly in the "Form HTML" chronoform field.
In certain case, write <?php include "file_path" ?> rather than <?php php_html_code_in_file ?> break the same code.
Is very complicating to manage php code inside database field rather than inside a file.
Is it possibile to make the two things exactly the same and not break the code?
Manage inside chronoform backend is the only way?
Can't Chronoform process an included file during save?
Thanks
Hi pippofresta,
I'm sorry, I don't understand the question.
You can include files in ChronoForms in any Event using a Custom Code action.
Bob
I'm sorry, I don't understand the question.
You can include files in ChronoForms in any Event using a Custom Code action.
Bob
I have this project:
Joomla 1.5 - Chronoforms V3.2.0 - Chronoconnectivity V2RC3.
If I put php code inside "form HTML" (in "form code" tab, inside "Forms Management" form edit ) - view attached pictures - I have errors during form run in frontend, when I create/edit new db rows through the form.
I see {name of the field} instead of value of the field and edit/save doesn't work.
If I put the included code, directly into the field, everything works perfectly.
It seems that ChronoForms can not run the included code in the same way as the code directly written.
Can you help me? Is there a way to do what I'm looking for?
Is very hard to manage php inside Chronoforms instead of manage it in a file.
Thanks
[attachment=0]option-that-not-work.png[/attachment]
Joomla 1.5 - Chronoforms V3.2.0 - Chronoconnectivity V2RC3.
If I put php code inside "form HTML" (in "form code" tab, inside "Forms Management" form edit ) - view attached pictures - I have errors during form run in frontend, when I create/edit new db rows through the form.
I see {name of the field} instead of value of the field and edit/save doesn't work.
If I put the included code, directly into the field, everything works perfectly.
It seems that ChronoForms can not run the included code in the same way as the code directly written.
Can you help me? Is there a way to do what I'm looking for?
Is very hard to manage php inside Chronoforms instead of manage it in a file.
Thanks
[attachment=0]option-that-not-work.png[/attachment]
Hi pippofresta,
Try including it from a Custom Element element in the Preview box. That usually works OK for me. Please see this FAQ.
Bob
Try including it from a Custom Element element in the Preview box. That usually works OK for me. Please see this FAQ.
Bob
Is it possibile with ChronoForms V3.2.0 ?
Can you explaine me how to?
Thanks
Can you explaine me how to?
Thanks
This topic is locked and no more replies can be posted.