newhck / php-form-builder-class

Automatically exported from code.google.com/p/php-form-builder-class
GNU General Public License v3.0
0 stars 0 forks source link

Dynamic form with tabs #64

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Is it possible to make a form that consists of different tabs?
If it is already possible can you tell me how i should use it?

The idea is to make forms that are less complex to the user. 

example: 
tab => Default:
firstname
Lastname
...
tab => Work:  
contact
...

Original issue reported on code.google.com by sven.lar...@gmail.com on 26 Jul 2010 at 7:30

GoogleCodeExporter commented 8 years ago
Sven,

There is nothing currently built into this project for handling tabs.  I would 
recommend leveraging jQueryUI as it is already heavily integrated throughout 
the project.  You can find examples at http://jqueryui.com/demos/tabs/.  Feel 
free to provide a patch if you choose to implement this.

- Andrew

Original comment by ajporterfield@gmail.com on 26 Jul 2010 at 1:04

GoogleCodeExporter commented 8 years ago
I made a quick fix for it.
How can i commit it? 

The fix is just adding an attribute:jqueryTabs to the form to enable the JS for 
the tabs. 

Original comment by sven.lar...@gmail.com on 28 Jul 2010 at 3:02

GoogleCodeExporter commented 8 years ago
Because you do not have commit access to this project, you will need to provide 
your patch as an attachment to this issue.  I will review it and provide 
feedback if necessary.

- Andrew

Original comment by ajporterfield@gmail.com on 28 Jul 2010 at 3:05

GoogleCodeExporter commented 8 years ago
At this time, I think it's best to leave this responsibility (creating tabs) to 
the web developer using this project.  My reasoning is that it will be 
difficult to create generic functionality that is flexible enough for a wide 
variety of uses.

Original comment by ajporterfield@gmail.com on 4 Sep 2010 at 5:39