DOKK / manpages / debian 12 / libembperl-perl / Embperl::Form::Control::tabs.3pm.en
Form::Control::tabs(3pm) User Contributed Perl Documentation Form::Control::tabs(3pm)

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

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

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.

G. Richter (richter at embperl dot org)

perl(1), Embperl, Embperl::Form

2023-01-22 perl v5.36.0