I am using tabs with multiple forms as an order form. I would like the user to submit just once when the order is completed.
When the user clicks the submit key on the final tab, none of the information from the previous forms on the prior tabs is submitted. How do I go about rectifying this.
TIA Kriss
http://www.planetearthfiber.com/index.php?option=com_content&view=article&id=50&Itemid=89
When the user clicks the submit key on the final tab, none of the information from the previous forms on the prior tabs is submitted. How do I go about rectifying this.
TIA Kriss
http://www.planetearthfiber.com/index.php?option=com_content&view=article&id=50&Itemid=89
Kriss,
put your tabs code in one form only, and of course you will separat the whole form code with tabs this time, not very tidy but this what will work now!
Cheers
Max
put your tabs code in one form only, and of course you will separat the whole form code with tabs this time, not very tidy but this what will work now!
Cheers
Max
I think this is the code that you are refering to.
<?php
$tabs = new mosTabs(1);
$tabs -> startPane( 'fiber' );
$tabs -> startTab( 'Contact Information', 'tab_1' );
?>
<?php
$tabs -> endTab();
$tabs -> startTab( 'Silk', 'tab_2' );
?>
<?php
$tabs -> endTab();
$tabs -> startPane( 'Silk' );
$tabs -> startTab( 'Beaded Silk', 'tab_3' );
?>
<?php
$tabs -> endTab();
$tabs -> startTab( 'Sequin Silk', 'tab_4' );
?>
<?php
$tabs -> endTab();
$tabs -> startTab( 'Shipping Instructions', 'tab_5' );
?>
<?php
$tabs -> endTab();
?>
<?php
$tabs = new mosTabs(1);
$tabs -> startPane( 'fiber' );
$tabs -> startTab( 'Contact Information', 'tab_1' );
?>
<?php
$tabs -> endTab();
$tabs -> startTab( 'Silk', 'tab_2' );
?>
<?php
$tabs -> endTab();
$tabs -> startPane( 'Silk' );
$tabs -> startTab( 'Beaded Silk', 'tab_3' );
?>
<?php
$tabs -> endTab();
$tabs -> startTab( 'Sequin Silk', 'tab_4' );
?>
<?php
$tabs -> endTab();
$tabs -> startTab( 'Shipping Instructions', 'tab_5' );
?>
<?php
$tabs -> endTab();
?>
This is a link to the form. Unfortunately, there are no tabs.😟
http://www.planetearthfiber.com/index.php?option=com_chronocontact&chronoformname=fiber
Do you see anything in the code that I could have overlooked. B)
http://www.planetearthfiber.com/index.php?option=com_chronocontact&chronoformname=fiber
Do you see anything in the code that I could have overlooked. B)
Hi Kriss,
no, you had something like this :
{tab1} mambot form1 here
{tab2} mambot form2 here
all this was in an article
make it like this :
{tab1} code of form1 here
{tab2} code of form2 here
then add this to a the main form and Enable Mambots for this form (set Enable mambots = Yes in form parameters)
Cheers
Max
no, you had something like this :
{tab1} mambot form1 here
{tab2} mambot form2 here
all this was in an article
make it like this :
{tab1} code of form1 here
{tab2} code of form2 here
then add this to a the main form and Enable Mambots for this form (set Enable mambots = Yes in form parameters)
Cheers
Max
So I just want to make sure I understand.
I take the mambot code from the article. ( I have removed the chronoform tags).
{tab=Store Information} Please click on each tab to complete your order.
code relating to store information
{tab=Silk}
code relating to silk
{tab=Beaded Silk}
code relating to beaded silk
{tab=Sequined Silk}
code relating to sequin silk
{tab=Additional Requests}
code relating to additional Requests
Am I getting close? :unsure:
Thanks Kriss
I take the mambot code from the article. ( I have removed the chronoform tags).
{tab=Store Information} Please click on each tab to complete your order.
code relating to store information
{tab=Silk}
code relating to silk
{tab=Beaded Silk}
code relating to beaded silk
{tab=Sequined Silk}
code relating to sequin silk
{tab=Additional Requests}
code relating to additional Requests
Am I getting close? :unsure:
Thanks Kriss
yes, then throw all this inside some form and set Enable mambots to yes!🙂
Cheers
MAx
Cheers
MAx
Max:
I have all the code in one form as discussed with the Mambot enabled. I even uninstalled and reinstalled the mambot making sure that I was using the right version for 1.5.
This is the result. http://www.planetearthfiber.com/index.php?option=com_chronocontact&chronoformname=fiber
Tom B)
I have all the code in one form as discussed with the Mambot enabled. I even uninstalled and reinstalled the mambot making sure that I was using the right version for 1.5.
This is the result. http://www.planetearthfiber.com/index.php?option=com_chronocontact&chronoformname=fiber
Tom B)
Hi Tom,
I'm coming to this late as I've been away for a few days. This code is inside a chronoforms form - what are you using for the tabs? Do you have the Tabs & Slides plugin? Or something else?
Do you have 'Enable mambots' checked on the Form General tab?
Bob
I'm coming to this late as I've been away for a few days. This code is inside a chronoforms form - what are you using for the tabs? Do you have the Tabs & Slides plugin? Or something else?
Do you have 'Enable mambots' checked on the Form General tab?
Bob
Bob: Thanks for you info. It now works. :woohoo: I went back and looked at everything again and it now works! The mambot was disabled.
I tested the form and only the information on the final tab where submit button is located was sent.
Tom
I tested the form and only the information on the final tab where submit button is located was sent.
Tom
Hi Tom,
One step forward then!! Please take a Form Backup from the ChronoForms Form manager and post it here or email it to me and I'll see if I can work out why all the data isn't saving.
Bob
One step forward then!! Please take a Form Backup from the ChronoForms Form manager and post it here or email it to me and I'll see if I can work out why all the data isn't saving.
Bob
Kriss,
it doesnt make any sense that only the last form data getting saved, I think you are not putting <form tags between tabs!!?? if so remove them!
Cheers
Max
it doesnt make any sense that only the last form data getting saved, I think you are not putting <form tags between tabs!!?? if so remove them!
Cheers
Max
No data of any kind is saved to the database and only the info in the last tab is sent in the e-mail. I do not use the <form> tag anywhere.
Hi Tom,
Quote from the email I sent you on Saturday:
Bob
Quote from the email I sent you on Saturday:
Near the beginning you have a typo in <table witdh="400" cellpadding="5"> - should be 'width'. However, this line should be deleted and an extra </table> tag added at the end of the first tab. Once this is done the form works OK for me.
The Tabs and slides plugin doesn't work if there are open tags between the tabs. You have two table tags that aren't closed in the first tab.Bob
This topic is locked and no more replies can be posted.