Twitter Feed

Xataface Maillist

Sign up to receive the Xataface news letter with weekly updates and development tips.

 
Found 1 of 138 records in table Wiki
Now Showing 1 of 1

Current Record: group

group

[Permalink]

group directive in fields.ini file

The group directive allows you to declare that certain fields of your table should be grouped together on the edit form and the view tab (and other logical places). For example, fields like address, city, state, country, postal_code would likely be grouped together as address_info. Grouping the fields together will make the fields appear in a section of their own in the view tab and the edit form.

E.g. In your fields.ini file:

[address]
   group=address_info

[city]
    group=address_info

[state]
    group=address_info

[country]
    group=address_info

[postal_code]
    group=address_info

Configuring the Group as a Whole

You can also configure your group in the fields.ini file by adding a fieldgroup:NAME section, where NAME is the name of the group. E.g.

[fieldgroup:address_info]
    label="Address Information"
    description = "Please enter your address information below"

See also:

blog comments powered by Disqus
Powered by Xataface
(c) 2005-2018 All rights reserved