Difference between revisions of "FieldNumberIntegerEnumeration"

From TempusServa wiki
Jump to navigation Jump to search
old>Ln.jeel
(Created page with '= Enumeration = Named numbers ex. Grades Properties * Groupable: Yes * Show in lists: No * Searchable: Yes == User interface == Field in show mode [[File:FieldNumberIntegerEn…')
 
m (5 revisions imported)
 
(4 intermediate revisions by one other user not shown)
Line 3: Line 3:


Properties
Properties
* Type: [[Field type reference#Basic|Basic]]
* Groupable: Yes
* Groupable: Yes
* Show in lists: No
* Show in lists: No
Line 26: Line 27:


Required:
Required:
* ''As shown above''
* There should be one name for each value (integer)


Options:
Options:
* ''As shown above''
* 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 ==
== Developer info ==

Latest revision as of 11:52, 10 December 2021

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