Hello,
I am trying to use a global method to set background field colours through the
onFocusGained, onFocusLost event. I am getting arguments OK from form, but I am unsure how to pass these arguments to my global method.
Global Method
var formName = arguments[0];
var elementName = arguments[1];
formName.elements.elementName.bgcolor = '#b5d2ee'
Form Method
var elementName = application.getMethodTriggerElementName();
var formName = application.getMethodTriggerFormName();
globals.setFieldFocusGained(formName,elementName);