How to hide choices of one field based on the another choice of that field

Vedavalli
Tera Contributor

Hi
I'm having state field with choices (New,Work in progress,On hold,Resolve).
when the state is in new we should show only new and work in progress(on hold and resolve will be hidden) in the state field dropdown,
when the state is in Work in progress  we should show only work in progress and on hold(resolve and new will be hidden)  in the state field dropdown

how can i achieve this?
thanks in advance

1 ACCEPTED SOLUTION
6 REPLIES 6

Vasantharajan N
Giga Sage
Giga Sage

@Vedavalli - You can add the choice dependency value to achieve this. Similar to incident form category & Subcategory. configuration. 


Thanks & Regards,
Vasanth

VikMach
Mega Sage

You can create onLoad client script like snip below.

VikMach_0-1749026591114.png

 



Regards,
Vikas K

that's not good practice and is not good for performance, also not scalable