Forms with tab

Please post your suggestions or any hacks you have made here

Forms with tab

Postby Muneo on Mon May 12, 2008 7:56 am

I tried to use mambot (tabs and slides in content itens - JoomlaWorks), but the in form doesn't work.
My form has many questions organized by category (like Pessoal Info, Business Info, etc).
So, my suggestion is this.
One special command that enable the tabs like that:
http://www.soliclima.com/formlib/fotovo ... ulario.php
Muneo
Fresh Boarder
 
Posts: 17
Joined: Sat Dec 29, 2007 2:28 pm

Re:Forms with tab

Postby admin on Tue May 13, 2008 2:59 pm

You mean you tried to use the mambot inside the form code ? did you enable "enable mambot" in the form edit page, general tab ?

Cheers

Max
ChronoForms/ChronoConnectivity/ChronoComments Developer Thanks for using our components!
If you have any problems with any extension please tell us.
If you like any of our extensions please post a review at Joomla.org
Want users to submit their content to your website ? try Submit Story
Want to list/edit/delete your data ? try ChronoConnectivity
Want to have stylish AJAX comments ? try ChronoComments
User avatar
admin
Platinum Boarder
 
Posts: 3166
Joined: Mon Aug 14, 2006 5:29 am

Re:Forms with tab

Postby Muneo on Tue May 13, 2008 5:16 pm

Yes, I installed the plugin(tabs & slides). In form, I set enable mambot, but, nothing happen when I put {tab=test} in my content in form code.
Muneo
Fresh Boarder
 
Posts: 17
Joined: Sat Dec 29, 2007 2:28 pm

Re:Forms with tab

Postby admin on Wed May 14, 2008 4:44 pm

So the mambot is enabled and the "enable mambot" in Chronoforms is enabled ? no idea then, both Chronoforms and the mambot are for the same Joomla version ? in case its J1.5 you didn't use legacy ?

may be you can search the forums for the code to add tabs!

Cheers

Max
ChronoForms/ChronoConnectivity/ChronoComments Developer Thanks for using our components!
If you have any problems with any extension please tell us.
If you like any of our extensions please post a review at Joomla.org
Want users to submit their content to your website ? try Submit Story
Want to list/edit/delete your data ? try ChronoConnectivity
Want to have stylish AJAX comments ? try ChronoComments
User avatar
admin
Platinum Boarder
 
Posts: 3166
Joined: Mon Aug 14, 2006 5:29 am

Re:Forms with tab

Postby kstlouis on Thu May 15, 2008 7:32 pm

If you use the ChronoForms Mambot the tabs/sliders will work properly. HTH
kstlouis
Fresh Boarder
 
Posts: 15
Joined: Mon Jun 04, 2007 3:52 pm

Re:Forms with tab

Postby Muneo on Fri May 16, 2008 12:49 pm

My fail, now it is working... (I am sorry for this topic)
Muneo
Fresh Boarder
 
Posts: 17
Joined: Sat Dec 29, 2007 2:28 pm

Re:Forms with tab

Postby kstlouis on Fri May 16, 2008 2:43 pm

No worries, it took me some time to figure out as well.
kstlouis
Fresh Boarder
 
Posts: 15
Joined: Mon Jun 04, 2007 3:52 pm

Re:Forms with tab

Postby kstlouis on Tue May 20, 2008 4:55 pm

This solution works for the sliders, I am however having problems with the form fields validation within the mambot.

Are there issues with validation working within the mambot?

If I view the form outside the mambot, validation works. hmm.
kstlouis
Fresh Boarder
 
Posts: 15
Joined: Mon Jun 04, 2007 3:52 pm

Re:Forms with tab

Postby admin on Thu May 22, 2008 11:37 pm

Hi kstlouis,

I suggest that you look at the JS lines of code loaded with the mambot and those loaded at the component page and see if there is any difference! if you have problem then let us know!

Cheers

Max
ChronoForms/ChronoConnectivity/ChronoComments Developer Thanks for using our components!
If you have any problems with any extension please tell us.
If you like any of our extensions please post a review at Joomla.org
Want users to submit their content to your website ? try Submit Story
Want to list/edit/delete your data ? try ChronoConnectivity
Want to have stylish AJAX comments ? try ChronoComments
User avatar
admin
Platinum Boarder
 
Posts: 3166
Joined: Mon Aug 14, 2006 5:29 am

Re:Forms with tab

Postby kstlouis on Mon May 26, 2008 5:50 pm

When using the mambot the following lines of code are missing:

<script src="components/com_chronocontact/js/prototype.js" type="text/javascript"></script>
<script src="components/com_chronocontact/js/effects.js" type="text/javascript"></script>
<script src="components/com_chronocontact/js/validation.js" type="text/javascript"></script>
kstlouis
Fresh Boarder
 
Posts: 15
Joined: Mon Jun 04, 2007 3:52 pm

Re:Forms with tab

Postby admin on Fri May 30, 2008 11:25 pm

Hi kstlouis,

Then you are using mootools with this form ? which Joomla version do you have ? Chronoforms version ? mambot version ?
ChronoForms/ChronoConnectivity/ChronoComments Developer Thanks for using our components!
If you have any problems with any extension please tell us.
If you like any of our extensions please post a review at Joomla.org
Want users to submit their content to your website ? try Submit Story
Want to list/edit/delete your data ? try ChronoConnectivity
Want to have stylish AJAX comments ? try ChronoComments
User avatar
admin
Platinum Boarder
 
Posts: 3166
Joined: Mon Aug 14, 2006 5:29 am

Re:Forms with tab

Postby kstlouis on Mon Jun 02, 2008 2:21 pm

Ok thanks for the hint.
Everything was the new version except for the mambot.
I upgraded the mambot and the validation seem to work fine now.

Thank you!
kstlouis
Fresh Boarder
 
Posts: 15
Joined: Mon Jun 04, 2007 3:52 pm

Re: Forms with tab

Postby obisi7 on Mon Sep 08, 2008 9:23 pm

do you mind sharing your example of form using tabs? Or simply tell us the steps you took and provide a link where one might see your form in action. I am trying to duplicate a a multi-page form I created using facileforms but not sure how to do it in Chronoforms since the tabs are created in facileforms.

thx.

P.s. I am trying to base all of my form development onchronoengine as it provides the best flexibility to layout the form.
obisi7
Junior Boarder
 
Posts: 24
Joined: Sat Sep 06, 2008 5:50 pm

Re: Forms with tab

Postby admin on Tue Sep 09, 2008 12:46 am

Hi Obisi,

to start a tab panel and open the first tab :

Code: Select all
<?php
         jimport('joomla.html.pane');
         $pane   = JPane::getInstance('tabs');
         echo $pane->startPane("content-pane2");
         echo $pane->startPanel( 'General', "general" );
      ?>


to end the first tab and open the 2nd one :
Code: Select all
<?php
         echo $pane->endPanel();
         echo $pane->startPanel( 'Legend', "legend" );
      ?>


to close the 2nd one and the panel :

Code: Select all
<?php
         echo $pane->endPanel();
         echo $pane->endPane();
      ?>


Regards

Max
ChronoForms/ChronoConnectivity/ChronoComments Developer Thanks for using our components!
If you have any problems with any extension please tell us.
If you like any of our extensions please post a review at Joomla.org
Want users to submit their content to your website ? try Submit Story
Want to list/edit/delete your data ? try ChronoConnectivity
Want to have stylish AJAX comments ? try ChronoComments
User avatar
admin
Platinum Boarder
 
Posts: 3166
Joined: Mon Aug 14, 2006 5:29 am

Re: Forms with tab

Postby obisi7 on Tue Sep 09, 2008 11:54 pm

Max--

I've not seen anyone who develops a software and moderates a forum as well as you do. This community owes you kudos and financial support. I will do my part by buying yur product soon after I get my cobwebs cleared.

Now my follow up question:

Do I put the form code after this statement in each tab:

echo $pane->startPanel( 'Legend', "legend" );

I am also assuming by placing the "submit" button in the last panel, all of the data entered on each tab will then be collected and sent. Right?
Regarding payment integration, will my current strategy of including the Paypal dynamic form in the Onsubmit after email sending still work? That is, does this that form get displayed in an additional tab or just simply a new web page?
Lastly, if I need to do a review in one of the tabs before submitting the form, do I include that script in the JS tab or in the tab in the form code?

Thx
obisi7
Junior Boarder
 
Posts: 24
Joined: Sat Sep 06, 2008 5:50 pm

Next

Return to ChronoForms Suggestions & Hacks

Who is online

Users browsing this forum: Google [Bot] and 1 guest