85 Posts
yuberlin
8 years ago
1
Topic

I have 3 dynamic cascade selects:

1. Select Category (Parent)

2. Select Category (Child)

3. Select Content 

This works so far but i want to prefill select 1 with a value and hide it (no manual selection of select 1). Using conditional states the first select is prefilled but the 2. select doesnt trigger the change. I guess its a problem with the ajax functions filling the value of the selects with the values entered in the select before.

So how can i change the conditional state function to trigger the change in select 1 on load?

Get a VIP membership
4229 Posts
Kadministrator
8 years ago
0
Level 1

You will probably need to add simple javascript like bellow to the js field that can be found if you click on one of the select dynamic configurations bellow (click on the arrow next to the storage settings):

$(#id_of_second_field).change();
Get a VIP membership