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