Updating choice field according to another field.

samuel_vilko
Tera Contributor

Hi everyone!

 

I have task to update choices of sub-state field according to state field. F.e. State field have value of '1' the sub-state field's choices should be 'a' and 'b' and if State have value of '2' another should display and so on. Do you guys have some tips how to do it? it should work onLoad, onChange and also in List view. Thanks :). 

1 ACCEPTED SOLUTION

Manmohan K
Tera Sage

Hi @samuel_vilko 

 

You can add state as dependent field on sub state field 

Also add state choices mapping in the choice list of substate field

The same is done OOB with category and sub category on incident table. You can use that as reference as shown below

 

ManmohanK_0-1687799654283.png

 

 

View solution in original post

1 REPLY 1

Manmohan K
Tera Sage

Hi @samuel_vilko 

 

You can add state as dependent field on sub state field 

Also add state choices mapping in the choice list of substate field

The same is done OOB with category and sub category on incident table. You can use that as reference as shown below

 

ManmohanK_0-1687799654283.png