SetReadonly is not working for choices fields
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2023 03:58 AM
I have created one onload client script for impact and choice fields in incident form but it is not working
Onload :
Function onLoad () {
g_form. SetReadOnly ("impact", true) ;
g_form. SetReadOnly ("urgency ", true) ;
}
10 REPLIES 10
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2025 06:27 PM - edited 02-24-2025 06:28 PM
A Support KB provides the solution;
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1170048