How to hide field choices on list view?

prasad_rachapud
Tera Contributor

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.

8 REPLIES 8

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.***

I want to hide few choices in list view and form view based on the some conditions.

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.***

Aman Kumar S
Kilo Patron

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 🙂

 

Best Regards
Aman Kumar