Changes

Custom Field Type: Text Box– Text Single Line

2,510 bytes removed, 22:25, 23 November 2018
no edit summary
<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 Illustrated==[[Image:Cf_tbsl_ex1.png]]<br />''Text Box - Single Line field will be:, in Edit Mode (above)''
[[Image:Custom_field_step_2.JPG]]
<u>'''Services'''</u>
 
* '''Enable Map Service''': displays the map icon next to the field name that will launch the user’s selected map service and display a map of the content of the field
* '''Enable People Search Service''': displays the search Internet icon next to the field name that will launch a variety of search services and display the contact details from those services
* '''Enable Organization Search Service''': displays the search Internet icon next to the field name that will launch a variety of search services and display the organisations details from those services
 
<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>
[[Image:Read_only_single_line.JPG]]
 
<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]]
* [[Category:Custom Date Fields]] {{CustomFieldPageFooter}}
Smartstaff, administrator
421
edits