Changes

Custom Field Type: Text Box– Text Single Line

2,021 bytes removed, 22:25, 23 November 2018
no edit summary
{{CustomFieldPageHeader}}<u>'''==General Description'''</u>==
A single line of text.
{{FieldOptions}}
{{AllowEmpty2}}
{{AppearMandatory}}
{{LabelAboveField}}
{{Searchable}}
{{TrackChanges}}
{{HideFieldForNewRecord}}
 
 
<u>'''Special Options for Field'''</u>
* '''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:
 
[[Image:Custom_field_step_1.JPG]]
 
The result of the custom field will be:
 
[[Image:Custom_field_step_2.JPG]]
{{VisibilityCondition}}
{{FieldPermissionMatrix}}
{{Services}}
{{Validation}}
 
<u>'''Field Validation'''</u>
 
* '''Type''': Select Date, Numeric, or Alphabetic validation
* '''[[JavaScript Validation]]''': Custom JavaScript validation formulas can be entered in this field
* '''[[Validation Message|Message]]''': The message that the user will see if the data in the field fails a validation check
* '''Maximum Length''': Sets the maximum length of the text entry. <b>Show Counter</b> determines whether a counter will be shown to the user. <b>Count Words</b> sets the counter to count words (instead of characters, the default).
* '''Maximum Message''': Message the user will see when they reach the maximum length
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_lineCf_tbsl_ex1.JPGpng]]<br />''Text Box - Single Line field, in Edit Mode (above)''
<u>'''Value Stores To'''</u>
 
* '''Custom Field''': Enables linking two different custom fields to the same user data
 
<u>'''Field Formatting Options'''</u>
 
* '''Width''': Determines the width of the field, in characters
* '''[[Number Format]]''': Allows you to define how numbers entered in this field will be displayed. See [[Number Format|here]] for details.
* '''Style''': '''Bold''', <u>Underline</u>, ''Italic'', <font color="red">Highlight</font>
* '''[[Tool Tip]]''': Enter help text to be shown on mouse-over
* '''Read Only''': Checkbox
* '''HTML Tag''': Additional attributes to the field HTML tag
* '''[[Visibility Condition]]''': Conditions upon which the field is visible
 
 
<u>'''[[Role Field Permissions|Role - Field Permissions]]'''</u>
 
These [[Role Field Permissions|fields]] allow you to control by [[Role]] who is allowed to view and/or modify the field.
 
<u>'''[[Status Field Permissions|Status - Field Permissions]]'''</u>
* ''Only present within the [[Universal Tracking Application]]''
These [[Status Field Permissions|fields]] allow you to control by the [[Status]] of the record whether or not the field can be viewed and/or modified.
* '''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.
* '''Read Only''':
{{MaximumLength}}
* '''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==
* [[Changing Text to Uppercase or Lowercase]]
* [[Date Fields]]
 
{{CustomFieldPageFooter}}
Smartstaff, administrator
421
edits