Field Type: Difference between revisions

From Memento Database Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{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.
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 ==
== Field Types ==
Line 8: Line 14:
Text fields are containers for text in a library
Text fields are containers for text in a library


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


=== Number fields ===
=== Number fields ===
==== Integer ====
Number fields can be incremented, decremented, used in calculations, used as arguments to mathematical functions, such as in aggregation, etc.
==== Real number ====
 
==== Currency ====
:; [[Integer field|Integer]] : Container for a positive, negative, or zero integer value. Can indicate units of measure.
==== Integer values ====
:; [[Real number field|Real number]] : Container for a rational number value. Can indicate units of measure.
:; [[Currency field| Currency]] : Container for an international currency value
:; [[Integer values field|Integer values]] : An alternate container for an integer value


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


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


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


=== Logicals and list fields ===
=== Logicals and list fields ===
==== Boolean (Checkbox) ====
 
==== Single-choice list ====
:; [[Boolean field| Checkbox (Boolean)]]
==== Radio buttons ====
:: Container for a single true/false value
==== Multiple-choice list ====
 
==== Checkboxes ====
:; [[Single-choice List field|Single-choice List]]
:: Container for a string of text selected from a list of strings
 
:; [[Radio Buttons field|Radio Buttons]]
:: Container for a string of text selected from a list of strings
 
:; [[Multiple-choice List field|Multiple-choice List]]
:: Container for a string that is a concatenation of text strings selected from a list of strings
 
; [[Checkboxes field|Checkboxes]]
: Container for a string that is a concatenation of text strings selected from a list of strings


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


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


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


=== Miscellaneous fields ===
=== Miscellaneous fields ===
==== Barcode ====
:; [[Barcode field|Barcode]] : Container for a barcode
==== Location ====
:; [[Location field|Location]] : Container for a geographic location
==== Rating ====
:; [[Rating field|Rating]] : Container for a rating
 
[[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