How to make Readonly to True/False Field?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2014 02:32 AM
Hi,
I am trying to make readonly from client script but still it can be edit. Can anybody give idea how we can do that?
I am using.. g_form.setReadonly('<Filed_name>',true);
We can make string filed to readonly easily but some difficulties in true/false filed. Suggest any idea.
- Labels:
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2014 02:43 AM
Please check on Incident form on https://createnow002.service-now.com/navpage.do
I did the same code and made the field readonly. Please let me know for any issue
Regards
Deepak negi

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2014 02:45 AM
Hi Mukesh,
Can you paste screenshot as I am not able to replicate the same.
Thanks
Pradeep Sharma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2014 04:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2014 05:06 AM
Hi Mukesh,
You cannot make field readonly using Workflow run script activity. If you want to make any field readonly, you can achive the same using below ways:
1) Client Script
2) UI Policy
3) Data Policy
Please mark answer as correct/helpful, if it was really helpful 🙂
Regards,
Solutioner
Enhance Knowledge NOW@ www.solutioningnow.com
http://www.solutioningnow.com/