Show/Hide the choices of the field based on another field value...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2023 09:58 PM - edited 07-02-2023 11:13 PM
Hi Developers,
I need one script for the below requirement.
If the Asset Preservation field Value is empty or if the current user don't have an asset role, then 'Law Hold' option from Substate field should be hidden.
And this Law hold option is visible in ' In stock ' and ' In Transit ' states.
Tried this onChange client script on Asset preservation field..... but it is not working.. as expected
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2023 10:10 PM
Hello @Munna1
Greetings!
Try using sys id value of asset role.
please hit the Thumb Icon and mark as Correct if it helped !!
Regards,
Ravi Chandra.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2023 11:11 PM
Hi @Ravi Chandra_K ,
tried with the sys_id of the role... but it is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2023 11:39 PM
Hello @Munna1
Greetings!
Can you please try using backend value for Lawhold. revert sys id to asset this time.
Regards,
Ravi Chandra.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2023 12:07 AM
Hi @Ravi Chandra_K ,
I am using 'Law hold' backend value only. but it is not working..
Law Hold backend value is-> Law hold