NAME

Embperl::Form::Control::tabs - A tab control inside an Embperl Form

SYNOPSIS

Embperl::Form -> add_tabs (
    [
        {
        text => 'First Tab',
        fields => [
                  ...
                  ]
        },
        {
        text => 'Second Tab',
        fields => [
                  ...
                  ]
        }
    ])

DESCRIPTION

Control to display tabs at the top of the form and control the switching between sub forms. The switching is done by Javascript, so it can only be used in environment where Javascript is available.

You can use the method Embperl::Form -> add_tabs to setup a tabbed form. See Embperl::Form on how to specify parameters.

PARAMETER

text

Text that will be displayed on the tab

fields

List of fields that should be displayed in this subform. Given in the same form as form Embperl::Form.

Author

G. Richter (richter at embperl dot org)

See Also

perl(1), Embperl, Embperl::Form