Hi everyone,
I'm trying to disable a lookup field and a number field using the following JavaScript code:
javascript
fd.field('{fieldName}').disabled = true;
However, I'm running into issues:
- Lookup Field: The UI correctly shows the field as disabled, but the browser's developer console displays an error message.
- Number Field: The UI does not disable the field at all, and the browser's developer console also shows an error message.
Is there a correct way to disable these types of fields via JavaScript? Any help or suggestions would be greatly appreciated.
Thanks!