What is difference between setReadOnly() and setDisabled() function?

_onali
Kilo Contributor

Difference between setReadOnly() and setDisabled() function

5 REPLIES 5

Wallace Roets
ServiceNow Employee
ServiceNow Employee

My take on it: I think you should look at that from an HTML perspective (seeing that it makes use of an HTML front end) thus it might look and handle different on different browsers.



Generally Read Only you can still select the field and copy it's value etc, whereas disabled the field cannot be selected or tabed to that field (again depending on the browser).