Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Enables or disables the specified field in the data source.
Syntax
protected void enableDSField(FieldId _fieldId, boolean _enable)
Run On
Called
Parameters
- _fieldId
Type: FieldId Extended Data Type
The field ID of field to enable or disable.
- _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 field in the associated data source. The form data source must be specified through one of the data source event methods or explicitly through the PmfFormCtrl.setDatasources method before it calls this method. The field ID must be valid for the table that is referenced by this data source.When the specified field is disabled for input, the skip attribute is enabled.