Field Type: Difference between revisions

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


=== Contact fields ===
=== Contact fields ===
; [[Contact field|Contact]] : [TBD]
; [[Contact field|Contact]] : '''[[TBD]]'''
; [[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

Revision as of 09:37, 10 September 2016

« Page as of 2016-09-10, editions Mobile 3.9.7, Desktop 1.0.3 »

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
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

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 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