Field Type: Difference between revisions

From Memento Database Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 43: Line 43:


=== 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 script 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]] : [TBD]
==== 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

Revision as of 16:09, 21 August 2016

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 days 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, and zero integer value
Real number
Container for a rational number value
Currency
Container for a 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

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

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 script written in Memento Script
JavaScript
Container for the result of a Calculation script written in JavaScript

Contact fields

Contact
[TBD]
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