Forums

passing information using multiple forms

Max_admin 16 Jul, 2008
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
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Kriss 16 Jul, 2008
I am not sure I understand. ?????
Kriss 16 Jul, 2008
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();
?>
Max_admin 16 Jul, 2008
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
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Kriss 16 Jul, 2008
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
Max_admin 17 Jul, 2008
yes, then throw all this inside some form and set Enable mambots to yes!🙂

Cheers

MAx
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 18 Jul, 2008
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
Kriss 18 Jul, 2008
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
GreyHead 19 Jul, 2008
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
Max_admin 20 Jul, 2008
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
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Kriss 21 Jul, 2008
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.
GreyHead 21 Jul, 2008
Hi Tom,

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.