WebForm.getControlsByModifier

Returns an array of controls in the form that have the named modifier.

Modifiers provide a way of flagging one or more controls so they can be found programmatically, e.g. a group of Field Controls might be changed from enterable to display only. Modifiers are assigned to controls at design time using the Modifiers property. Any number of modifiers can be assigned - modifiers are entered as a comma delimited list.

Javascript example:

 for each (var ctrl in form.getControlsByModifier("FINANCE"))
 {
   if (!system.securityManager.hasRole("FINANCE_CONTROLLER"))
   {
      ctrl.hide();
   }
 }
 

returns UNKNOWNcom.ebasetech.xi.api.controls.Control[]

Parameters

java.lang.String  modifier,