| 20 | |
| 21 | == Available Field Types and Options == |
| 22 | Common options: |
| 23 | * label: Descriptive label. |
| 24 | * value: Default value. |
| 25 | * order: Sort order placement. (Determines relative placement in forms.) |
| 26 | * hidden: Field is not displayed. Useful for storing extra ticket attributes programmatically (false by default). |
| 27 | * fullrow: Field spans a full row when displayed in the ticket properties. |
| 28 | * editable: Field is editable (true by default). If a field is hidden but editable, it will not display in the ticket summary but will be displayed and editable in the ticket properties. |
| 29 | |
| 30 | Types and type-specific options: |
| 31 | * '''text''': A simple (one line) text field. |
| 32 | * size: Size of text field. |
| 33 | * '''checkbox''': A boolean value check box. |
| 34 | * value: Default value (0 or 1). |
| 35 | * '''select''': Drop-down select box. Uses a list of values. |
| 36 | * options: List of values, separated by '''|''' (vertical pipe). |
| 37 | * value: Default value (Item #, starting at 0). |
| 38 | * '''radio''': Radio buttons. Essentially the same as '''select'''. |
| 39 | * options: List of values, separated by '''|''' (vertical pipe). |
| 40 | * value: Default value (Item #, starting at 0). |
| 41 | * '''textarea''': Multi-line text area. |
| 42 | * cols: Width in columns. |
| 43 | * rows: Height in lines. |