Hi. The form I am working on is a redesign of this currently working form: https://mikeshardmoney.net/apply.html except that I'm not using the accordion anymore but breaking the form into steps in ChronoForms. I set up a mother form called LoanApplication and 4 child forms so far called Contact, Property, Employment and Personal. Here is a breakdown of how each is set up:
LoanApplication - has MultiPage enabled under Plugins and has all the child forms entered into MultiPage with Enable Steps to Yes. No Form HTML code or other code. Where do I put the final submit URL (https://mikeshardmoney.net/leads/index.php?entryPoint=WebToLeadCapture)? I've tried using the Redirect URL field, Submit URL field, CURL plugin (which doesn't carry over child form elements under the General tab), and the Redirect plugin, none of which submits the data to SugarCRM. If I use the redirect plugin I get the posted session variables listed above the form in the next steps. If I use the submitURL in the mother then it submits after the first child form submit, even though the mother has the Finish submit button name for the final button added to it.
All the child forms have this code added to the Form HTML field:
Data seems to save forward but not backwards (ie; fill out form 1, press next, fill out form 2, press previous, then next again, data in form 2 is not kept) with this button code:
I'm not looking to use Joomla to save data but SugarCRM, which is on the same server/hosting account. So I haven't set up a data connection in ChronoForms. Do I need to in order to properly move between steps? It seems redundant to save in two databases. Also, how am I supposed to submit to an external database? All the code is copied directly from the first working form listed above. Any help is greatly appreciated!
LoanApplication - has MultiPage enabled under Plugins and has all the child forms entered into MultiPage with Enable Steps to Yes. No Form HTML code or other code. Where do I put the final submit URL (https://mikeshardmoney.net/leads/index.php?entryPoint=WebToLeadCapture)? I've tried using the Redirect URL field, Submit URL field, CURL plugin (which doesn't carry over child form elements under the General tab), and the Redirect plugin, none of which submits the data to SugarCRM. If I use the redirect plugin I get the posted session variables listed above the form in the next steps. If I use the submitURL in the mother then it submits after the first child form submit, even though the mother has the Finish submit button name for the final button added to it.
All the child forms have this code added to the Form HTML field:
<?php
$session =& JFactory::getSession();
$posted = $session->get('chrono_formpages_data', array(), md5('chrono'));
?>
Data seems to save forward but not backwards (ie; fill out form 1, press next, fill out form 2, press previous, then next again, data in form 2 is not kept) with this button code:
<input value="Previous" name="previous" type="button" onClick="window.location='http://www.mikeshardmoney.net/joomla/index.php?option=com_chronocontact&chronoformname=LoanApplication&cfformstep=1'"/>
<input type="submit" value="Next" />
I'm not looking to use Joomla to save data but SugarCRM, which is on the same server/hosting account. So I haven't set up a data connection in ChronoForms. Do I need to in order to properly move between steps? It seems redundant to save in two databases. Also, how am I supposed to submit to an external database? All the code is copied directly from the first working form listed above. Any help is greatly appreciated!