To Lock and Un-Lock fields on Form you have to use the setDisabled() method.
// To Lock fields on Form
formContext.getControl("fieldSchemaName").setDisabled(true);
// To Un-Lock fields on Form
formContext.getControl("fieldSchemaName").setDisabled(false);
No comments:
Post a Comment