<< Click to Display Table of Contents >> Navigation: »No topics above this level« TOC : Script API > JavaScript > JavaScript API > GeneralScript > CalculatedField > Event >GetFieldData |
Occurs when extracting the value of the calculated field.
Prototype :
var GetFieldData
(
No Arguments
)
Reference :
GetFieldData event returns the calculated field value given by SetFieldData() or return function in a script.
GetFieldData event occurs immediately before the calculated field component is bound. If multiple components have the same calculated field, the event occurs only once. If no component having calculated field, no event occurs.
Example :
//Use SetFieldData() function for Varchar type calculated field
This.SetFieldData("FORCS");
//Use return function for Varchar type calculated field
return "FORCS";
See also :