I made a form using FormAssembly to easily create a "conditional form" (I mean: if I chose an answer, I see a specific question).
I published in in Chronoforms but the triggering function don’t works.
What is the better way to publish in Chrono Forms a FormAssembly form with contitional or calculating functions?
It was better if I wrote the conditional questions in PHP, like in the advanced tutorial?
I published in in Chronoforms but the triggering function don’t works.
What is the better way to publish in Chrono Forms a FormAssembly form with contitional or calculating functions?
It was better if I wrote the conditional questions in PHP, like in the advanced tutorial?
Hi Mat,
I don't know anything about FormAssembly and have no idea how the publishing works without actually seeing the form code.
If you create a small test form and send me the code or post it here then I'll take a look.
Bob
I don't know anything about FormAssembly and have no idea how the publishing works without actually seeing the form code.
If you create a small test form and send me the code or post it here then I'll take a look.
Bob
Off course and thanks for your answer.
Here you are the test file. [file name=MydemoformforChronoForm.txt size=4769]http://www.chronoengine.com/images/fbfiles/files/MydemoformforChronoForm.txt[/file]
In my tests, I replaced the
area with this block:
Putting the 3 JavaScript files in "/components/com_chronocontact/js/MY-DEMO-FORM" folder.
If you need, I can send you a PM with my login and password for the FormAssemby free account.
Here you are the test file. [file name=MydemoformforChronoForm.txt size=4769]http://www.chronoengine.com/images/fbfiles/files/MydemoformforChronoForm.txt[/file]
In my tests, I replaced the
<script type="text/javascript" src="http://app.formassembly.com/wForms/3.0/js/wforms.js"></script>
<script type="text/javascript" src="http://app.formassembly.com/wForms/3.0/js/wforms_custom_validation.js"></script>
<script type="text/javascript" src="http://app.formassembly.com/js/populate_form.js"></script>
area with this block:
<?php
global $mosConfig_live_site;
$folder = $mosConfig_live_site.'/components/com_chronocontact/js/MY-DEMO-FORM';
echo "<script src='$folder/wforms.js' type='text/javascript'></script><br />";
echo "<script src='$folder/wforms_custom_validation.js' type='text/javascript'></script>";
echo "<script src='$folder/localization-it.js' type='text/javascript'></script><br />";
echo "<script src='$folder/populate_form.js' type='text/javascript'></script>";
?>
Putting the 3 JavaScript files in "/components/com_chronocontact/js/MY-DEMO-FORM" folder.
If you need, I can send you a PM with my login and password for the FormAssemby free account.
Hi Mat,
A first quick reply - I think that $folder may not be evaluated inside single quotes. Does the javascript load OK?
Bob
A first quick reply - I think that $folder may not be evaluated inside single quotes. Does the javascript load OK?
Bob
Hi Mat,
This appears to work Ok in ChronoForms, you can put all the test file text into the Form HTML box - then remove the two lines with the <form . .> and </form> tags. If you want the reult to redirect to formassembly you'll need to copy their url into the Redirect URL box.
Bob
This appears to work Ok in ChronoForms, you can put all the test file text into the Form HTML box - then remove the two lines with the <form . .> and </form> tags. If you want the reult to redirect to formassembly you'll need to copy their url into the Redirect URL box.
Bob
This topic is locked and no more replies can be posted.