Difference between revisions of "Custom Field Type: Text Box– Text Single Line"

From SmartWiki
Jump to: navigation, search
m
 
(33 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<u>'''General Description'''</u>
+
==General Description==
 
 
 
A single line of text.
 
A single line of text.
 
<u>'''Field Options'''</u>
 
 
* '''Allow Empty''': Yes
 
* '''Captions''': User defined
 
* '''Default Text''': Yes
 
 
* '''Options''': Default Text
 
* '''Track Changes''': Yes
 
* '''Store To Value''': Yes
 
 
You can refer to [[Web Page View Field Variables|variables]] as part of the ''Default Text'' as explained in [[Using Variables as Default Values in Single Line and Multi-line Text Box Custom Fields|this article]]
 
 
You can also hide the '''caption''' on the field so that only the text entry box appears:
 
 
[[Image:Custom_field_step_1.JPG]]
 
 
The result of the custom field will be:
 
 
[[Image:Custom_field_step_2.JPG]]
 
 
<u>'''Special Options for Field'''</u>
 
 
None.
 
 
<u>'''Field Validation'''</u>
 
 
* '''Type''': Date, Numeric, Alphabetic
 
* '''JavaScript Validation''': Yes
 
* '''Message''': Yes
 
* '''HTML Tag''': Yes
 
  
To turn a text box into a '''read only''' box, you can use '''HTML'''. Insert the following (readonly class=textreadonly) into the HTML tag:<br>
+
==Field Illustrated==
[[Image:Read_only_single_line.JPG]]
+
[[Image:Cf_tbsl_ex1.png]]<br />
 +
''Text Box - Single Line field, in Edit Mode (above)''
  
<u>'''Field Formatting Options'''</u>
 
  
* '''Height''': N/A '''Measure''': '''Default''':
+
* '''Default Text''': The default text that will be displayed in the text box. You can refer to [[Web Page View Field Variables|variables]] as part of the ''Default Text'' as explained in [[Using Variables as Default Values in Single Line and Multi-line Text Box Custom Fields|this article]]. You can also hide the '''caption''' on the field so that only the text entry box appears.
* '''Width''': Yes '''Measure''': Characters '''Default''': N/A
+
* '''Read Only''':
* '''Number Format''': N/A
+
{{MaximumLength}}
* '''Style''': Yes
+
* '''Number Precision''' - Provides the ability to round any numeric value up or down based on your chosen precision. Select whole numbers, single or multiple decimals, nearest ten, hundred or thousand.
* '''Tool Tip''': Yes
 
  
 +
==See Also==
 +
* [[Changing Text to Uppercase or Lowercase]]
 +
* [[Date Fields]]
  
+
{{CustomFieldPageFooter}}
[[Category:Custom Fields]]
 

Latest revision as of 18:25, 23 November 2018

General Description

A single line of text.

Field Illustrated

Cf tbsl ex1.png
Text Box - Single Line field, in Edit Mode (above)


  • Default Text: The default text that will be displayed in the text box. You can refer to variables as part of the Default Text as explained in this article. You can also hide the caption on the field so that only the text entry box appears.
  • Read Only:
  • Maximum Length: Sets the maximum length of the text entry.
    • Show Counter determines whether a counter will be shown to the user.
    • Count Words sets the counter to count words (instead of characters, the default).
  • Exceeded Maximum Message: Message the user will see when they reach the maximum length
  • Number Precision - Provides the ability to round any numeric value up or down based on your chosen precision. Select whole numbers, single or multiple decimals, nearest ten, hundred or thousand.

See Also