2,004
edits
Changes
no edit summary
{{JavaScript Syntax}}
* 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}}
==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)''
'''1. Setting End Date to current date as long as the status is not equal to Closed'''