Hi all,
I'm trying to get all the data from a multipage form into 2 ways:
1- Send all the info trought e-mail
I have read in this forum but in old post that in multipage forms, Chronoforms cannot generate an e-mail with all the data, is this correct? Can I make an e-mail with all the data?
2- Save all the info to a database.
I think this is possible, but chronoforms do not save the data to my DB. I have the "DB SAVE" into "on sumbit" (setup).
Is there a way to save all the data from a multipage?
I'm trying to get all the data from a multipage form into 2 ways:
1- Send all the info trought e-mail
I have read in this forum but in old post that in multipage forms, Chronoforms cannot generate an e-mail with all the data, is this correct? Can I make an e-mail with all the data?
2- Save all the info to a database.
I think this is possible, but chronoforms do not save the data to my DB. I have the "DB SAVE" into "on sumbit" (setup).
Is there a way to save all the data from a multipage?
Hello Kronosites,
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
My form data isn't saving to the database correctly
My CFv5 form data isn't saving to the database correctly
How do I save form data to a database table?
How to load record data from a database table into your form
P.S: I'm just an automated service😉
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
My form data isn't saving to the database correctly
My CFv5 form data isn't saving to the database correctly
How do I save form data to a database table?
How to load record data from a database table into your form
P.S: I'm just an automated service😉
Hi KronoSites,
Please see this FAQ - it was written for Cfv4 but the same process works for CFv5.The MUlti Page action is in the Utilities action group.
Bob
Please see this FAQ - it was written for Cfv4 but the same process works for CFv5.The MUlti Page action is in the Utilities action group.
Bob
Hi,
I have created a multipage form. In page 1 there is a dropdown with id 'Marital_Status' with options 'Single' and 'Married'. If 'Single' is selected in page 1 after clicking next page button I want to hide a drop down with id 'Savings_Children_Education' in page 2. And also if possible I want to hide page5 (last page of the form) based on this Selection of 'Marital_Status'.
Following is the code I tried. Its not working.
I have created a multipage form. In page 1 there is a dropdown with id 'Marital_Status' with options 'Single' and 'Married'. If 'Single' is selected in page 1 after clicking next page button I want to hide a drop down with id 'Savings_Children_Education' in page 2. And also if possible I want to hide page5 (last page of the form) based on this Selection of 'Marital_Status'.
Following is the code I tried. Its not working.
jQuery(document).ready(function(jQ){
jQ('#Savings_Children_Education').prop('hidden', true);
jQ('#Marital_Status').on('change', function() {
if ( jQ('#Marital_Status').val() == 'Married' ) {
jQ('#Savings_Children_Education').prop('hidden', false);
} else {
jQ('#Savings_Children_Education').prop('hidden', true);
}
});
});
Hi GreyHead,
Any input? Or any link referring to my case so that I can refer?
Thanks,
Pooja
Any input? Or any link referring to my case so that I can refer?
Thanks,
Pooja
Hi Pooja,
Your code should work provided that there is a form element with the ID Marital_Status and the appropriate value.
I would probably use conditional css to show hide the element before the page loads, There's an example here
To skip a page I'd use an Event Switcher action with two different HTML (Render form) actions - one directed to each of the two possible next pages.
Bob
Your code should work provided that there is a form element with the ID Marital_Status and the appropriate value.
I would probably use conditional css to show hide the element before the page loads, There's an example here
To skip a page I'd use an Event Switcher action with two different HTML (Render form) actions - one directed to each of the two possible next pages.
Bob
Hi GreyHead,
Thanks for your input.I will try out this.
I have another doubt. I want to add a title to each of my multipaged form. I saw one of your post where you have said to try this code:
<?php
global $mainframe;
$mainframe->setPageTitle('some title or other');
?>
I tried putting this code in Custom Code in 'On load' event for my first form. I am getting this error when i check in front end.
Fatal error: Call to a member function setPageTitle() on a non-object in /home/administrator/components/com_chronoforms5/chronoforms/actions/custom_code/custom_code.php(20) : eval()'d code on line 3
where can i be wrong?
Thanks for your input.I will try out this.
I have another doubt. I want to add a title to each of my multipaged form. I saw one of your post where you have said to try this code:
<?php
global $mainframe;
$mainframe->setPageTitle('some title or other');
?>
I tried putting this code in Custom Code in 'On load' event for my first form. I am getting this error when i check in front end.
Fatal error: Call to a member function setPageTitle() on a non-object in /home/administrator/components/com_chronoforms5/chronoforms/actions/custom_code/custom_code.php(20) : eval()'d code on line 3
where can i be wrong?
This topic is locked and no more replies can be posted.