Need to show or hide fields or panels based on the value of another field? For this requirement Dynamic Panels is the perfect solution. The advanced configuration tools allow you to clearly define what should happen whenever a field value changes.
#4787 - Trigger changes in display when value changed by jQuery
Hello and thanks for you greater extension.
I have select list with condition to show different fields when selected different values from the select for example: * Select options are A, B, C, Dynamic panel condition: - by default all fields are hidden Field-A, Field-B, Field-C - if selected A -> need to show field Field-A - if selected B -> need to show field Field-B - if selected C -> need to show field Field-C All is working good from UI.
I need to change my select list value by jQuery and not manually example:
$('#MY-SELECT-ID').val('B').trigger('change').trigger('click');
After running this code, nothing happens, the Dynamic panel doesn't apply the changes to UI and Field-B is not shown.
Can you please explain how do do it ?