Trigger for when condition is met
-
Hi @edgarrojas,
I am using ‘Change Options Depending On a Condition’ on a dropdown field and using an input field to change those options based on a keyword.
If I type the keyword into the input field the options change as expected, but if I use jQuery to change the input field using val(‘keyword’) the options don’t change. Is there a trigger to kick off the option change? I have tried .trigger(‘change’)… keyup, click etc but can’t get them to change.
Also if I click into the input field and add a space after the text js put in then the form changes correctly. So it looks like changing val() alone isn’t enough to trigger the change.
The topic ‘Trigger for when condition is met’ is closed to new replies.