I’m writing a script that sets values for a multiselect dropdown field but I can’t figure out how to do it. Selecting the option for the select field via $(‘select option[value=“This value”]’).attr(‘selected’, 1) works but the selected value doesn’t show up on the dropdown field display. The code above also doesn’t trigger the display rules associated with the dropdown field.
I’d appreciate any help regarding this. Thank you so much!