Field Type: Difference between revisions

From Memento Database Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Stamp|2016-09-10|3.9.7|1.0.3}}
{{Stamp|2016-12-04|4.1.0|1.0.7}}
 
Each field has a specific type. The type determines how a field appears and behaves, what form of data is stored, how it is stored, and how it is displayed and formatted for external destinations during export or synchronization.
Each field has a specific type. The type determines how a field appears and behaves, what form of data is stored, how it is stored, and how it is displayed and formatted for external destinations during export or synchronization.


Line 13: Line 14:
Text fields are containers for text in a library
Text fields are containers for text in a library


; [[Text field|Text]] : Basic container for textual data
:; [[Text field|Text]] : Basic container for textual data
; [[Rich Text field|Rich Text]] : Container for formatted textual data
:; [[Rich Text field|Rich Text]] : Container for formatted textual data


=== Number fields ===
=== Number fields ===
Number fields can be incremented, decremented, used in calculations, used as arguments to mathematical functions, such as in aggregation, etc.
Number fields can be incremented, decremented, used in calculations, used as arguments to mathematical functions, such as in aggregation, etc.


; [[Integer field|Integer]] : Container for a positive, negative, or zero integer value
:; [[Integer field|Integer]] : Container for a positive, negative, or zero integer value. Can indicate units of measure.
; [[Real number field|Real number]] : Container for a rational number value
:; [[Real number field|Real number]] : Container for a rational number value. Can indicate units of measure.
; [[Currency field| Currency]] : Container for a international currency value
:; [[Currency field| Currency]] : Container for an international currency value
; [[Integer values field|Integer values]] : An alternate container for an integer value
:; [[Integer values field|Integer values]] : An alternate container for an integer value


=== Date and time fields ===
=== Date and time fields ===
; [[Date field|Date]] : Container for a calendar date value
:; [[Date field|Date]] : Container for a calendar date value
; [[Time field|Time]] : Container for a time value
:; [[Time field|Time]] : Container for a time value
; [[DateTime field|DateTime]] : Container for a date/time value
:; [[DateTime field|DateTime]] : Container for a date/time value


=== Credential fields ===
=== Credential fields ===
; [[Password field|Password]] : Container for a password value
:; [[Password field|Password]] : Container for a password value


=== Media fields ===
=== Media fields ===
; [[Image field|Image]] : Container for image data
:; [[Image field|Image]] : Container for image data
; [[Audio field|Audio]] : Container for audio data
:; [[Audio field|Audio]] : Container for audio data


=== Logicals and list fields ===
=== Logicals and list fields ===


; [[Boolean field| Checkbox (Boolean)]]
:; [[Boolean field| Checkbox (Boolean)]]
: Container for a single true/false value
:: Container for a single true/false value


; [[Single-choice List field|Single-choice List]]
:; [[Single-choice List field|Single-choice List]]
: Container for a string of text selected from a list of strings
:: Container for a string of text selected from a list of strings


; [[Radio Buttons field|Radio Buttons]]
:; [[Radio Buttons field|Radio Buttons]]
: Container for a string of text selected from a list of strings
:: Container for a string of text selected from a list of strings


; [[Multiple-choice List field|Multiple-choice List]]
:; [[Multiple-choice List field|Multiple-choice List]]
: Container for a string that is a concatenation of text strings selected from a list of strings
:: Container for a string that is a concatenation of text strings selected from a list of strings


; [[Checkboxes field|Checkboxes]]
; [[Checkboxes field|Checkboxes]]
Line 54: Line 55:


=== Link fields ===
=== Link fields ===
; [[Link To Entry field|Link To Entry]] : Link to an entry of a specified library
:; [[Link To Entry field|Link To Entry]] : Link to an entry of a specified library
; [[Link To File field|Link To File]] : Container for the textual link to a file of a platform file system
:; [[Link To File field|Link To File]] : Container for the textual link to a file of a platform file system
; [[Hyperlink field|Hyperlink]] : Container for a textual Internet link
:; [[Hyperlink field|Hyperlink]] : Container for a textual Internet link


=== Scripting fields ===
=== Scripting fields ===
; [[Calculation field|Calculation]] : Container for the result of a calculation script written in Memento Script
:; [[Calculation field|Calculation]] : Container for the result of a calculation expression written in Memento Script
; [[JavaScript field|JavaScript]] : Container for the result of a calculation script written in JavaScript
:; [[JavaScript field|JavaScript]] : Container for the result of a calculation script written in JavaScript


=== Contact fields ===
=== Contact fields ===
; [[Contact field|Contact]] : '''[[TBD]]'''
:; [[Contact field|Contact]] : Container for a contact
; [[Phone Number field|Phone number]] : Container for a string representation of a telephone number
:; [[Phone Number field|Phone number]] : Container for a string representation of a telephone number
; [[Email Address field|Email address]] : Container for a string representation of an email address
:; [[Email Address field|Email address]] : Container for a string representation of an email address
; [[Signature field|Signature]] : Container for a signature
:; [[Signature field|Signature]] : Container for a signature


=== Miscellaneous fields ===
=== Miscellaneous fields ===
; [[Barcode field|Barcode]] : Container for a barcode
:; [[Barcode field|Barcode]] : Container for a barcode
; [[Location field|Location]] : Container for a geographic location
:; [[Location field|Location]] : Container for a geographic location
; [[Rating field|Rating]] : Container for a rating
:; [[Rating field|Rating]] : Container for a rating


[[Category:Spec]]
[[Category:Spec]]

Revision as of 07:51, 4 December 2016

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

Each field has a specific type. The type determines how a field appears and behaves, what form of data is stored, how it is stored, and how it is displayed and formatted for external destinations during export or synchronization.

Fields of all types have the following parameters:

Name
Textual, case-insensitive field identifier that can include spaces
Hint
Textual prompt for field data entry

Field Types

A field may have any of the following types.

Text fields

Text fields are containers for text in a library

Text
Basic container for textual data
Rich Text
Container for formatted textual data

Number fields

Number fields can be incremented, decremented, used in calculations, used as arguments to mathematical functions, such as in aggregation, etc.

Integer
Container for a positive, negative, or zero integer value. Can indicate units of measure.
Real number
Container for a rational number value. Can indicate units of measure.
Currency
Container for an international currency value
Integer values
An alternate container for an integer value

Date and time fields

Date
Container for a calendar date value
Time
Container for a time value
DateTime
Container for a date/time value

Credential fields

Password
Container for a password value

Media fields

Image
Container for image data
Audio
Container for audio data

Logicals and list fields

Checkbox (Boolean)
Container for a single true/false value
Single-choice List
Container for a string of text selected from a list of strings
Radio Buttons
Container for a string of text selected from a list of strings
Multiple-choice List
Container for a string that is a concatenation of text strings selected from a list of strings
Checkboxes
Container for a string that is a concatenation of text strings selected from a list of strings

Link fields

Link To Entry
Link to an entry of a specified library
Link To File
Container for the textual link to a file of a platform file system
Hyperlink
Container for a textual Internet link

Scripting fields

Calculation
Container for the result of a calculation expression written in Memento Script
JavaScript
Container for the result of a calculation script written in JavaScript

Contact fields

Contact
Container for a contact
Phone number
Container for a string representation of a telephone number
Email address
Container for a string representation of an email address
Signature
Container for a signature

Miscellaneous fields

Barcode
Container for a barcode
Location
Container for a geographic location
Rating
Container for a rating