Field/Value Pairs in a Field/Value List should be grouped in a logical manner which will drive how it is laid out on screen.
Groups will help define the vertical 'breaks' in the list of Field/Value pairs. The design of each screen will specify the groups of Field/Values and as needed the name of the grouping to be displayed on screen. It is possible for a list to only have a single group of fields (which indicates there are no vertical 'breaks' - the fields will span horizontally as much as possible)
Within each field/value grouping, the Field/Value list is laid out in a 6 columns 'grid', with each column taking 1/6 of the available screen width.
The 6 columns layout will only be supported up to the 'sm' resolution defined in Angular Material (https://material.angularjs.org/latest/layout/options), which is minimum 960px width and above. If the resolution goes smaller than 960px, all field/value pairs will be displayed in a single column (note since this is not a resolution PASIprep supports, PASIprep is not guaranteed to function properly in this resolution).
For example, if a Field/Value List is used to display 6 fields:
and the following groupings are defined:
|Name, Date of Birth
|Address, Phone Number, Email
Then the fields will be displayed in the following manner (note: each column should be fixed width on screen):
|Date of Birth
If the resolution becomes too small to fit the column view, the screen will push all fields into a single column; thus, the fields in the example above will be displayed in the following manner:
|Date of Birth
The PASIprep View Item Template and PASIprep Add Item Template/PASIprep Edit Item Template screens for the same Business Object Type should retain the same sort order and grouping as much as possible to establish consistent layout of data to the user. Hence, when deciding on sort orders and groupings, the fields should be ordered in a manner that is logical for both data entry and data review.
However, often a View of the record will present more fields (e.g calculated fields, audit information fields, or specially formatted fields such as addresses) than the Add or Edit screen of the same record, hence it is accepted that the field ordering/grouping may not match completely. The following are some guidelines to address the possible differences:
If the Field/Values are editable, the following form guidelines should be followed: