Difference between revisions of "Custom Field Type: Text Box - Number"

From SmartWiki
Jump to: navigation, search
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span id="bs_template:@@@TPL3@@@" class="mceNonEditable template" data-bs-name="Banner-UnderConstruction" data-bs-type="template" data-bs-id="3">{{ Banner-UnderConstruction }}</span>
 
 
The '''Number Format''' setting on [[Custom Fields]] allows you to define how numbers in the field will be displayed.
 
 
 
==General Description==
 
==General Description==
Text box for email addresses.
+
The '''Text Box - Number''' field allows you to define how numbers in the field will be displayed.
  
 
==Field Illustrated==
 
==Field Illustrated==
[[Image:placeholder.png|<em>Text Box - Email, in Edit Mode (above)</em>]]<br />
+
[[Image:placeholder.png]]<br />
''Text Box - Email, in Edit Mode (above)''
+
''Text Box - Number, in Edit Mode (above)''
 +
 
 +
==FieldOptions==
 +
All common options:<br />
 +
[[Custom Fields - General Information #General_Settings|General Settings]]<br />
 +
[[Custom Fields - General Information #Role Field Permissions and Status Field Permissions|Permissions & Availability]]<br />
 +
[[Custom Fields - General Information #Classic Options|Classic Options]]<br />
 +
For further information, please refer to [[Custom Fields – General Information]].<br /><br />
 +
Options listed below are specific to this particular field type.
  
{{FieldOptions}}<br />
 
 
===Number Format===
 
===Number Format===
 +
 +
----
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 58: Line 63:
 
|-
 
|-
 
!|Whole Number
 
!|Whole Number
||123456.51
+
||1234.1234
||123456.51
+
||1234
 
|-
 
|-
!|Integer
+
!|One Decimal
||123456.51
+
||1234.1234
||123,457
+
||1234.1
 
|-
 
|-
!|Comma
+
!|Two Decimals
||123456.51
+
||1234.1234
||123,457
+
||1234.12
 
|-
 
|-
!|Decimal
+
!|Three Decimals
||123456.51
+
||1234.1234
||123,456.51
+
||1234.123
 
|-
 
|-
!|Currency (US Dollars) 
+
!|Four Decimals
||123456.51
+
||1234.1234
||$123,456.51
+
||1234.1234
 
|-
 
|-
!|Percent (Decimal)
+
!|Nearest Ten
||0.5199
+
||1234
||52%
+
||1230
 
|-
 
|-
!|Percent (Display Number)
+
!|Nearest Hundred
||51.99
+
||1234
||52%
+
||1200
 
|-
 
|-
!|Custom
+
!|Nearest Thousand
||''Not Applicable''
+
||1234
||''Not Applicable''
+
||1000
 
|}
 
|}
 
===Validation===
 
----
 
* '''Mandatory''': Selecting this option means that this field is required and must be completed.
 
 
* '''Appear Mandatory''': Makes the field appear as though it is a required field. Typically used in conjunction with browser scripts, JavaScript Validation or Submit Logic that perform validation.
 
 
* '''Custom Validation'''
 
 
* '''Failed Validation Message''': Message displayed if validation fails.
 
 
===Feature Options===
 
----
 
'''Track Changes'''
 
 
===Value Storage===
 
----
 
'''From Custom Field(s)'''
 
 
'''To Custom Field'''
 
  
 
[[Category:Custom Fields]]
 
[[Category:Custom Fields]]
 
[[Category:Custom Field Types]]
 
[[Category:Custom Field Types]]
 
  
 
<!--[[Image:PrecisionSetting.png|link=]]
 
<!--[[Image:PrecisionSetting.png|link=]]
 
[[Image:NewNumberFormatting.png|link=]]-->
 
[[Image:NewNumberFormatting.png|link=]]-->
 
 
 
===Notes===
 
===Notes===
 
* The '''Number Format''' setting applies in [[view mode]], or when the values are displayed in a [[Web Page View]], [[Report]], [[MS Word Merge]], [[List View]], etc.
 
* The '''Number Format''' setting applies in [[view mode]], or when the values are displayed in a [[Web Page View]], [[Report]], [[MS Word Merge]], [[List View]], etc.
* Currency formatting will be applied when the record is in [[edit mode]] only if the setting "Show Currency Format in Edit Mode" is selected in the custom field settings.
+
* Currency formatting will be applied when the record is in [[edit mode]] only if the setting "Apply Format in Edit Mode" is selected in the custom field settings.
 
* Any currency defined by [http://en.wikipedia.org/wiki/ISO_4217 ISO 4217] can be shown by using the appropriate three-letter currency code. For example, if ''Currency-JPY'' (for Japanese Yen) is entered into the Number Format setting, the entered value of '''12''' will be displayed as '''¥12'''.
 
* Any currency defined by [http://en.wikipedia.org/wiki/ISO_4217 ISO 4217] can be shown by using the appropriate three-letter currency code. For example, if ''Currency-JPY'' (for Japanese Yen) is entered into the Number Format setting, the entered value of '''12''' will be displayed as '''¥12'''.
  
Line 129: Line 111:
 
* [[Displaying a Number Value as Currency]]
 
* [[Displaying a Number Value as Currency]]
 
* [[The Musings of Chin - Best Practice: Correct Data Formats]]
 
* [[The Musings of Chin - Best Practice: Correct Data Formats]]
 
{| class="wikitable"
 
|-
 
||[[Image:Why.jpeg|link=|50px]]
 
||Click [http://wiki.smartsimple.com/wiki/Number_-_Why%3F here] to learn why this feature is a benefit to your organization.
 
|}
 
  
 
[[Category:Custom Fields]][[Category:Currency]][[Category:How]]
 
[[Category:Custom Fields]][[Category:Currency]][[Category:How]]

Latest revision as of 19:21, 21 November 2018

General Description

The Text Box - Number field allows you to define how numbers in the field will be displayed.

Field Illustrated

File:Placeholder.png
Text Box - Number, in Edit Mode (above)

FieldOptions

All common options:
General Settings
Permissions & Availability
Classic Options
For further information, please refer to Custom Fields – General Information.

Options listed below are specific to this particular field type.

Number Format


Number Format Value (Example) Display (Example)
None 123456.51 123456.51
Integer 123456.51 123,457
Comma 123456.51 123,457
Decimal 123456.51 123,456.51
Currency (US Dollars)  123456.51 $123,456.51
Percent (Decimal) 0.5199 52%
Percent (Display Number) 51.99 52%
Custom Not Applicable Not Applicable
Number Precision Value (Example) Display (Example)
Whole Number 1234.1234 1234
One Decimal 1234.1234 1234.1
Two Decimals 1234.1234 1234.12
Three Decimals 1234.1234 1234.123
Four Decimals 1234.1234 1234.1234
Nearest Ten 1234 1230
Nearest Hundred 1234 1200
Nearest Thousand 1234 1000

Notes

  • The Number Format setting applies in view mode, or when the values are displayed in a Web Page View, Report, MS Word Merge, List View, etc.
  • Currency formatting will be applied when the record is in edit mode only if the setting "Apply Format in Edit Mode" is selected in the custom field settings.
  • Any currency defined by ISO 4217 can be shown by using the appropriate three-letter currency code. For example, if Currency-JPY (for Japanese Yen) is entered into the Number Format setting, the entered value of 12 will be displayed as ¥12.

Important: in edit mode you must use a period (.) as the decimal, even if the currency defined uses a comma (,).

See Also