sunsetsystems wrote on Saturday, November 12, 2011:
We definitely need some better documentation of this area. Very briefly:
Order: A sequence number that determines where the item appears in the group.
ID: The internal name to use for the item.
Label: The label to display.
UOR: Indicates if it is Unused, Optional or Required in the form.
Data Type: Many choices here. For the ultimate in detail, see the code in library/options.inc.php.
Size: Generally the width in characters of a field; but for arrays of checkboxes or radio buttons this is the number of columns in the array.
List: If the data type is based on a list, this is the ID of the list.
Label Cols: Of the 4 columns in the form, the number (0-4) used to contain the field’s label. 0 means to continue it in the previous column.
Data Cols: As with Label Cols, but for the data portion of the field.
Options: Copying comments from library/options.inc.php:
// C = Capitalize first letter of each word (text fields)
// D = Check for duplicates in New Patient form
// G = Graphable (for numeric fields in forms supporting historical data)
// H = Read-only field copied from static history
// L = Lab Order (“ord_lab”) types only (address book)
// N = Show in New Patient form
// O = Procedure Order (“ord_*”) types only (address book)
// R = Distributor types only (address book)
// U = Capitalize all letters (text fields)
// V = Vendor types only (address book)
// 1 = Write Once (not editable when not empty) (text fields)
Description: This is generally used as tooltip text in the layout.
For more detail, the following code may be enlightening:
library/options.inc.php
interface/super/edit_layout.php
Rod
www.sunsetsystems.com