FieldNumberIntegerEnumeration

From TempusServa wiki
Revision as of 11:52, 10 December 2021 by Tvi (talk | contribs) (5 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Enumeration

Named numbers ex. Grades

Properties

  • Type: Basic
  • Groupable: Yes
  • Show in lists: No
  • Searchable: Yes


User interface

Field in show mode

File:FieldNumberIntegerEnumeration show.png

Field in edit mode

File:FieldNumberIntegerEnumeration edit.png

User interface as displayed in picture


Configuration

This field requires configuration before deployment.

FieldNumberIntegerEnumeration BE.png

Required:

  • There should be one name for each value (integer)

Options:

  • Options van be colored using the # syntax
 Option 1 #red
 Option 2 #blue
 ...
  • Translations should be prefixed only once with the language qualifier
 en:Option 1
 Option 2
 Option 3
 ge:Wahl 1
 Wahl 2
 Wahl 3

Developer info

  • FeltTypeID: 18
  • SQL datatype: int(11)
  • Class name: FieldNumberIntegerEnumeration
  • Field is allowed in inline tables