tabs

Tabulated data input form is defined by tab option tab. Input fields are grouped on multiple input areas. Each area can be selected by clicking the tab on top of the area. Each tab group is preceded by tab name. Input fields on a tab area are defined exactly the same, as they are defined by fields keyword..

 

  tabs:
    1basic:
      10:
        name: name
        type: text_field
        size: 50

    2advanced:
      10:
        name: header
        type: text_area
        size: 100x10

 

Tabs are sorted by tab name before form is processed therefor to maintain order of tabs, their name may start with a number. The real name will be taken from localized definition.

 

en:
  helpers:
    label:
      dc_site:
        tabletitle: Sites
        1basic: Basic
        2advanced: Advanced

 

If your application doesn't need localization, tab name can also be defined by option caption.

 

  tabs:
    1basic:
      caption: Basic
      10:
        name: name
        type: text_field
        size: 50

    2advanced:
      caption: Advanced
      10:
        name: header
        type: text_area
        size: 100x10

 

All other options are defined same as defined by fields option.


Last update: 18.04.2021