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

Version 1 Next »

You can change the default select label that appears in the drop-down items (Combo and Icon Combo) at run time through the form's listener JS. By default, 'Select' is the label that appears for the drop-down items. The following sample code snippet changes the default select label of a Combo form item at form initialization: 

this.fm.registerHandler(CFEC.PRE_INITIALIZE, function(fm) 
{
	return 
	{
		'ACCOUNT_TYPE': // Combo Item ID
		{
			'selectLbl': 'Select Account Type' // Select label for the Combo item.
		}
	}
});


  • No labels