Choice List not populating when the dependent value changes. I have requirement to have a list of choices to appear when certain "business services" are selected on incident records. To accomplish this we have configured a set of choice that are de

mattyerian
Kilo Contributor

I have requirement to have a list of choices to appear when certain "business services" are selected on incident records.   To accomplish this we have configured a set of choice that are dependent on the business services.   Currently the only way to get the choice list variables to display is by saving the record.   Is there a method available to get these to change to the new values whenever the "business service" name is changed.   I have looked at the gform.addOption and gform.clearOptions and other items through a client script with little luck.

Any help would be appreciated.

1 ACCEPTED SOLUTION

In the dependent value are you giving the sys_id of the Business application or the direct value




find_real_file.png



I just tested with the reference value and it worked fine. The values are changing dynamically


View solution in original post

14 REPLIES 14

This is how the category and sub category are related



find_real_file.png


and in choices you need to fill in the dependent value as shown in the below image


find_real_file.png




So in your business service category add a dependent field as Business service


mattyerian
Kilo Contributor

Right.   We have   configured our field of u_business_service_sub_category and made it dependent on "business services names".   We also have entered in the appropriate choices.   Currently the only way to get it to refresh or show the appropriate values is by saving the form.   When I save the form the correct values are populated and displayed.   However changing the business service does not cause the form to refresh.   The categories and sub categories function as expected. However "Business Sub Category" does not.  


In the dependent value are you giving the sys_id of the Business application or the direct value




find_real_file.png



I just tested with the reference value and it worked fine. The values are changing dynamically


mattyerian
Kilo Contributor

Direct value


Everything will be set if you update the values to sys_id's