Skip to content

Instantly share code, notes, and snippets.

@furkankaracan
Created Jun 25, 2022
Embed
What would you like to do?
disableForm: function (executionContext) {
let formContext = executionContext.getFormContext();
let formControls = formContext.ui.controls;
formControls.forEach(control => {
if (control.getName() != "" && control.getName() != null) {
control.setDisabled(true);
}
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment