Supported JavaScript Events

This Table shows the JavaScript events that are supported by the different features of Swift MEAP™, lists the available event handlers, and indicates where you can add or use the events in the Admin application.


Feature

Admin Application Location

Event Handlers

Custom Action

Module Custom Action JavaScript Code Type

onActionJSON

Detailer Quick Action Button

Module Quick Action Detailer Button

conditionQueryJSON

External Application Quick Action

Module Quick Action External Application Configuration

openExternalApp

Cancel Button

Module onCancel JavaScript Code Type

fieldsOnCancel or onCancel

New Button

Module onCreate JavaScript Code Type

fieldsOnDefault or getDefaultValueOfMEFIELDNAME

Delete Button

Module onDelete JavaScript Code Type

fieldsOnDelete or onDelete
onPostDeleteJSON

Edit Access Checking on Forms

Module onEdit JavaScript Code Type

onEditJSON

Defaulting in the Quick Selector

Module onOpen JavaScript Code Type

fieldsOnDefault or getDefaultValueOfMEFIELDNAME

Save button

Module onSave JavaScript Code Type

fieldsOnDefault or getDefaultValueOfMEFIELDNAME

fieldsOnPreSave or onPreSave fieldsOnSave or OnSave onCreateJSON onPreSaveJSON
onSaveJSON

Quick Selector Filters

Quick Selector Filter Required Type

fieldsOnConditionQuery or onConditionQuery
fieldsOnFilter or onFilter conditionQueryJSON excludeFromPreload

Quick Selector Validation Button

Quick Selector Filter Validate Type

onValidateJSON

Reference Field Selector FiltersModule Field ConditionfieldsOnConditionQuery or onConditionQuery
 
fieldsOnFilter or onFilter conditionQueryJSON
excludeFromPreload
Table Display FiltersTable Display FilterconditionQueryJSON