Field: Difference between revisions

From Memento Database Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
Fields are the primary elements of a library's structure. A field is a holder for a unit of data, or value. Every field has a [[Field Type|'''''type''''']], a '''''name''''', and a '''''hint'''''. Fields may also have advanced parameters or display options, depending on the type of the field.
Fields are the primary elements of a library's structure. A field is a holder for a unit of data, or value. Every field has a [[Field Type|'''''type''''']], a '''''name''''', and a '''''hint'''''. Fields may also have advanced parameters or display options, depending on the type of the field.


Field names are case-insensitive and may contain spaces. In theory, any string of UTF-8 characters can make up a field name, though in practice, certain limitations may apply, such as using periods, percents, or at signs ('.', '%', or '@') may be problematic during expression evaluation in '''[[Calculation field|Calculation]]''' and '''[[JavaScript field|JavaScript fields]]''' and likely also in '''[[Triggers|trigger scripts]]'''.
Field names are case-sensitive and may contain spaces. (ie:  "My Field Name", "MyFieldName")  In theory, any string of UTF-8 characters can make up a field name, though in practice, certain limitations may apply, such as using periods, percents, or at signs ('.', '%', or '@', My@FieldName) which may become problematic during expression evaluation in '''[[Calculation field|Calculation]]''' and '''[[JavaScript field|JavaScript fields]]''' and likely also in '''[[Triggers|trigger scripts]]'''.


Field hints will be displayed in the field during editing to prompt the user for what to type.
Field hints will be displayed in the field during editing to prompt the user for what to type.

Revision as of 21:19, 4 May 2020

« Page as of 2016-12-19, editions Mobile 4.1.0, Desktop 1.0.7 »

Fields are the primary elements of a library's structure. A field is a holder for a unit of data, or value. Every field has a type, a name, and a hint. Fields may also have advanced parameters or display options, depending on the type of the field.

Field names are case-sensitive and may contain spaces. (ie: "My Field Name", "MyFieldName") In theory, any string of UTF-8 characters can make up a field name, though in practice, certain limitations may apply, such as using periods, percents, or at signs ('.', '%', or '@', My@FieldName) which may become problematic during expression evaluation in Calculation and JavaScript fields and likely also in trigger scripts.

Field hints will be displayed in the field during editing to prompt the user for what to type.

Fields are created and edited during the editing of a library.

The sequence of fields within the library is significant. The Order in which the fields are displayed on the Field Edit card is based on their order within the Fields tab in the library.