How to hide field choices on list view?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2022 05:29 AM
We have a requirement to hide few choices in a field in form view and list view. We can able to hide choices in form level using client script but unable to hide choices in list view also.
This is dependent field (like Sub-category). Tried client script but it's not working on list level. Please help me on this.
Thanks in advance.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2022 05:42 AM
because for lists its all or nothing I dont think you can let some choices to be selected you can restrict user not editing that choice field through onCellEdit() client script.
***Mark Correct or Helpful if it helps.***
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2022 11:34 AM
I want to hide few choices in list view and form view based on the some conditions.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2022 03:28 PM
That is not possible on list view with cellEdit() you can just restrict not to edit that field
Mark Correct or Helpful if You think it was helpful
***Mark Correct or Helpful if it helps.***

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2022 11:39 AM
You can't hide, but you can follow below article to throw error if restricted choices are selected by user.
How to hide a choice option from list edit
Feel free to mark correct, If I answered your query.
Will be helpful for future visitors looking for similar questions 🙂
Aman Kumar