Integer field: Difference between revisions

From Memento Database Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
An Integer field may contain any integer value (from -2,147,483,647 to +2,147,483,648). Integers can participate in numeric expressions, calculations, and functions.
{{Stamp|2021-04-07|4.10.0|1.9.6}}
An Integer field may contain any integer value (from -2,147,483,648 to +2,147,483,647). Integers can participate in numeric expressions, calculations, and functions.


== Name and Hint ==
{{FieldNameHint}}
Standard across all [[Field Type|'''field types''']].


== Advanced Parameters ==
== Advanced Parameters ==
Line 10: Line 10:
:* Previous value
:* Previous value


; Calculator : Add a calculator button to assist during entry/edit
; Calculator: Add a calculator button to assist during entry/edit
; Thousands separators : Display value with spaces inserted to signify thousands
; Thousands separators: Display value with spaces inserted to signify thousands
; Required : Make entry of a value mandatory before saving an entry
; Unit of measure (Mobile release 4+ only): Maintain the unit of measure. Prompt the user during entry/edit for the unit of measure, including conversion between units of measure. Indicate the unit of measure in the display of values.
 
{{FieldRequired}}
 
{{FieldDataValidationBase}}
{{FieldDataValidationNumeric}}
{{FieldDataValidationWrap}}


== Display Options ==
== Display Options ==
; Display in the list as : Select among the following roles for the current field:
{{FieldRoleRNDS}}
:* As a Regular field
:* As an Entry Name
:* As an Entry Description
:* As an Entry Status


; Use in calendar as : Define field's use vis-a-vis the calendar
; Use in calendar as : Define field's use vis-a-vis the calendar
Line 26: Line 28:
:* Duration in hours
:* Duration in hours


; Display field name in Entry Edit Card? : By default, yes.
{{FieldOnCard}}
 
{{FieldFont}}


; Font : Choices are:
{{FieldDepend}}
:* Family: Regular, Light, Condensed, Thin, Medium. By default, Regular.
:* Style: Normal, Bold, Italic, Bold Italic. By default, Normal.
:* Size: By default, 18. Direct entry to change.
:* Color: By default, White. Palette of 20 colors, backed up by a continuously variable color chooser.


; Dependencies : Ability to add one or more visibility dependencies upon fields with qualifying types.
[[Category:Spec]]

Revision as of 00:05, 7 April 2021

« Page as of 2021-04-07, editions Mobile 4.10.0, Desktop 1.9.6 »

An Integer field may contain any integer value (from -2,147,483,648 to +2,147,483,647). Integers can participate in numeric expressions, calculations, and functions.

Name
Textual, case-insensitive field identifier that can include spaces; it's best to avoid characters that can be used as operators, though (standard across all field types)
Hint
Textual, case-insensitive field identifier that can include spaces

Advanced Parameters

Default Value
By default, there is no default value. If a default value is specified, there are 3 choices:
  • Specify value: Default value is as specified.
  • Auto-increment
  • Previous value
Calculator
Add a calculator button to assist during entry/edit
Thousands separators
Display value with spaces inserted to signify thousands
Unit of measure (Mobile release 4+ only)
Maintain the unit of measure. Prompt the user during entry/edit for the unit of measure, including conversion between units of measure. Indicate the unit of measure in the display of values.
Required
Make entry of a value mandatory before saving an entry
Data validation
The value of a field may be validated against user-specified criteria. If the validation fails, an error message is displayed on the screen by the field, and the user must take action to resolve the situation before saving the entry.

After selecting Data Validation, a pop-up will appear for entering validation criteria. For numeric fields, the input will be deemed valid if:

Less than (default)
its value is less than the value entered below.
Less than (default)
its value is less than the value entered below.
Greater than
its value is greater than the value entered below.
Equal to
its value is equal to the value entered below.
Not equal to
its value is not equal to the value entered below.
Empty
the field is empty.
Not empty
the field is not empty.
Between
its value is between the two numbers entered below.
If the checkbox is unchecked (default), a standard error message will be displayed when the input is invalid.
If the checkbox is checked, a custom error message will be displayed when the input is invalid.
If the Clear button is pressed, the criteria settings will be cleared.
If the Cancel button is pressed, the criteria settings will not be affected, and the criteria pop-up will be dismissed.
If the OK button is pressed, the input data will be accepted and displayed on the screen after the pop-up disappears.

Display Options

Display in the list as
Select among the following roles for the current field in the entries list:
  • As a Regular field
  • As an Entry Name
  • As an Entry Description
  • As an Entry Status
Use in calendar as
Define field's use vis-a-vis the calendar
  • None
  • Duration in minutes
  • Duration in hours
The field name
Display the name of the field in the card entry (By default, On). By this, it is meant that the field name will or will not be displayed on either the Entry View card or the Entry Edit card.
Font
Choices are:
  • Family: Regular, Light, Condensed, Thin, Medium. By default, Regular.
  • Style: Normal, Bold, Italic, Bold Italic. By default, Normal.
  • Size: By default, 18. Direct entry to change.
  • Color: By default, White. Palette of 20 colors, backed up by a continuously variable color chooser.
Dependencies
Ability to add one or more visibility dependencies upon fields with qualifying types.