TOC : Script API > JavaScript > JavaScript API > Component > ReportTemplate > Event >

 

Functions

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

TOC : Script API > JavaScript > JavaScript API > Component > ReportTemplate > Event >

 

Functions

 

 

Enter your user-defined functions that can be used globally.

 

 

 

Prototype :

 

void Functions

(

       No Arguments

)

 

 

 

Reference :

 

User-defined functions entered in the Functions can be called from any components added to the ReportTemplate.

 

 

 

Example :

 

//ReportTemplate - Functions

var msgbox = function(arg1, arg2){

  _MessageBox(arg1, arg2);

};

 

//Button - OnClick

msgbox("Please enter your name.", "Input data error!");