brianlan25
Kilo Patron

So if I'm understanding you correctly you have to set the value of a different variable then a OnChange client script runs and Populates the dropdown. If this is correct try the following.

  1. Do a Set Variable Values (SP) and only set the variables that would cause the dropdown to populate.
  2. Do a second Set Variable Values (SP) and populate the dropdown and any other variables.

This should hopefully allow the client script to run.

Hi Brian,

I attempted the two-step Set Variable Values (SP) method. The first step works as expected, but in the second step, the dropdown for the other variable does not populate. It only displays "--None --" in the ATF configuration.

Could you please advise if there’s an additional setup required for dependent variables?

Regards, 

Anke

How do you have the dependent field setup to get the correct values based on the parent dropdown?

Hi Brian, 

We are using an onChange client script to dynamically populate choice values into a Select Box variable. This works as expected during normal catalog item submission. However, when executing the same steps in ATF, the dropdown values are not available in the Set Variable Values (SP) step.

Regards, 

Anke

Shaqeel
Mega Sage

@Stiips 

 

You need to use 2 Set Variable Values and then carry out the rest of your activity.

P.S: If the field is dependent to other field then you need to set the fields separately.

 

Regards

Shaqeel