...
- Click on Modules.
- Select the Module with the appropriate form field.
- Select Forms tab.
- Select Master formSchema button "Create/Update Fields".
- User filter to find field that is intended to be made readonly.
- Select edit on the field.
- Select Cutsom JavaScript tab.
- Within the “init” section type:
...