Re: Re: tabbed forms.
| From: | Danny Brow | Date: | Wed, 13 Apr 2005 20:42:18 +0000 |
| Subject: | Re: Re: tabbed forms. | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-18739@lists.php.net to get a copy of this message | ||
On Wed, 2005-04-13 at 12:57 -0700, Justin Patrin wrote:
> On 4/13/05, Danny Brow <dan@fullmotions.com> wrote:
> > On Wed, 2005-04-13 at 09:31 -0700, Jamie Alessio wrote:
> > > > Could some one show me or point me to a good example of a tabbed form
> > > > with HTML_QuickForm_Controller?
> > > >
> > > This isn't at all specific to HTML_QuickForm_Controller or even to PEAR,
> > > but you could put the sections of the form you want as separate tabs in
> > > DIVs and then make them into tabs with something like this:
> > > http://phrogz.net/JS/Tabtastic/index.html#overview
> > >
> > > You could probably create/extend an HTML_QuickForm Renderer to output
> > > the HTML in this format for you. This particular solution requires
> > > Javascript to create the tabbed look, but degrades nicely when
> > > Javascript is disabled.
> > >
> > > - Jamie
> > >
> >
> > I would like to write something myself so that I hold the copyright.
> >
> > Thanks for the link, I'll play with this until I find some good
> > documentation on tabs & the quickform_controller function.
> >
>
> Extending a renderer should allow you to keep the copyright as long as
> you're not copying any code from the other renderer. All PEAR packages
> are under "library" kind of licenses allowing inclusion and extension.
> You just can't modify them without making your modifications
> available.
>
Could you point me to an example, I'm a new to php.
Thanks,
Dan.