I have written a java-script which disable a field onSave of a form.
Xrm.Page.ui.controls.get('FieldName').setDisabled(true);
It runs fine on form save but as soon as i reload the form. The disable field become enable and user can edit it again.
*This post is locked for comments