Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »


CFEC is a global registry introduced in CT 18.1 to help you access the list of form specific events through constants.

Use CFEC to call a form event as shown in the following code:

this.fm.registerHandler(CFEC.CLICK, '<FORM_BUTTON/HYPERLINK_ID>', function(fm, event,fieldName) 
{
//Developer to perform operations here.
}); 

OR

You can also use the form event name without using the constant. Sample code is as follows:

this.fm.registerHandler('cbxclick', '<FORM_BUTTON/HYPERLINK_ID>', function(fm, event,fieldName) 
	{
		//Developer to perform operations here.
	}); 


  • No labels