Share via


PmfFormCtrl.enableFormControl Method [AX 2012]

Enables or disables the specified form control.

Syntax

protected void enableFormControl(IdentifierName _name, boolean _enable)

Run On

Called

Parameters

  • _enable
    Type: boolean
    true to enable the field for input; otherwise, false.

Remarks

This is a convenience method to enable, to disable, or to assign the skip property for a control on the associated form. If the referenced control does not exist on the form, this method does nothing.When the specified field is disabled for input, the skip attribute is enabled.

See Also

Reference

PmfFormCtrl Class