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 . as shown in the following screen shot:
The following sample code snippet changes the default select label of a Combo form item at form initialization:
Code Block | ||
---|---|---|
| ||
this.fm.registerHandler(CFEC.PRE_INITIALIZE, function(fm) { return { 'ACCOUNT_TYPE': // Combo Item ID { 'selectLbl': 'Select Account Type' // Select label for the Combo item. } } }); |