Oracle CRM On Demand Desktop Administration Guide > Customizing Oracle CRM On Demand Desktop > Performing Typical Customization Work >
Making a Field in Oracle CRM On Demand Desktop Read-Only
This topic describes how to add a field in Oracle CRM On Demand Desktop and how to make the field read-only so it cannot be modified by users. To make a field in Oracle CRM On Demand Desktop read-only
- Use a JavaScript editor to open the forms.js file.
- Locate the field that you want to make read-only.
- Append the control.enabled attribute to the field, and set it to False, for example:
ctx.form.control_id.enabled = false;
- Save and close the forms.js file.
|