Changes

Jump to: navigation, search

Custom Field Type: Special – Browser Script

528 bytes removed, 20:26, 19 February 2016
no edit summary
{{JavaScript Syntax}}
<u>'''Field Display'''</u>  This type of field is only displayed when ''On Demand'' is selected as a ''Trigger Type''. '''Note:''' If there is a browser script on a Tab, and the script does not have any visibility conditions on it, the Tab will be displayed even if there are no other visible fields on it. <u>'''==General Description'''</u> ==
* This field type adds a '''[[JavaScript]]''' to the page on which it is located.
* This field type is used by programmers to create enhanced functionality.
* In general, Browser Scripts must be at the end of the page, so should be included sequentially at the end of your list of [[Custom Fields]].
 
==Field Display==
 
This type of field is only displayed when ''On Demand'' is selected as a ''Trigger Type''.
 
'''Note:''' If there is a browser script on a Tab, and the script does not have any visibility conditions on it, the Tab will be displayed even if there are no other visible fields on it.
{{FieldOptions}}
{{TriggerType}}
* '''JavaScript''': Stores the procedure you wish to execute
 
{{ButtonLabel}}
 
{{HideFieldForNewRecord}}
<u>'''Special Options for Field'''</u>
{{TriggerType}}
'''JavaScript''': Stores the procedure you wish to execute{{OptionsTab}} {{DisableFromGlobalSearch}}<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{{CFPermissionsTab}}
==Field Permissions==
<u>'''[[Role Field Permissions|Role - Field Permissions]]'''</u>
==Referencing Other Fields==
<u>'''Referencing Other Fields'''</u>
* Standard Fields can be referenced by name ''(see [[Web Page View Field Variables|this]] page for a list of standard field variable names)''
<u>'''==Examples'''</u> ==(For more examples of scripts see [[:Category:JavaScript]])
'''1. Setting End Date to current date as long as the status is not equal to Closed'''
2,004
edits

Navigation menu