- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2023 09:53 AM
Hello, I have an issue with the "Assign to" field in the alm_hardware table. I'm unable to make it Read Only after a flag is activated. I've tried creating both a Client Script, a Business Rule, and a UI policy, but the field remains editable. I can't seem to figure out why. I'm attaching the screenshots below. Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 04:56 AM
Hello @Dario_C ,
As I can see you are using onChange client script, Please use OnLoad client script and use below script-
g_form.setMandatory('assigned_to',false);
g_form.setReadOnly('assigned_to',true);
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 04:27 AM
Hi @Dario_C ,
Happy to help 🙂
Also if the response helped you could u please mark both the response as solutions accepted, as it will help other users to find the right answer.
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 04:56 AM
Hello @Dario_C ,
As I can see you are using onChange client script, Please use OnLoad client script and use below script-
g_form.setMandatory('assigned_to',false);
g_form.setReadOnly('assigned_to',true);
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.