This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Can a cascading list sub-list be auto-populated?

Hi, I'd like to know if the following functionality exists in Forms:

I have a cascading list with four tiers. For certain selections, if I populate the second tier with some value (e.g. A), there is only one selection for the third and fourth tier. I would like to auto-populate the third and fourth tier in such situation, so that user does not have to click multiple times to fill up the third and fourth tier.

I tried writing a script to check the value of the binding in the second tier matches some value (e.g. A), then "Change a Value" for the bindings of the third and fourth tier to the intended value, but this script was unsuccessful.

Thanks!

Parents
  • Hi *** Yi Koh,

    Here is an example that works:

    I created 2 dropdown controls: first one with A,B,C,D values to choose from; second with E,F

    With the following action(script) when I select value B in first dropdown, the second is auto-populated with value E:

    This is a sample for 2 tiers, but similarly you can populate the other tiers, just add more line in "to do" actions. Let me know how it goes.

    Best regards,

    Alex B

  • Hi Alexandru,

    Understand that this script works with dropdown control. I am referring to using the "Advanced Control: Cascading List", for which it doesn't work.

  • Here is your particular example using Cascading List:

    1. Created the following list group. On this example selecting Tier 1 ->A and  Tier 2 -> F, Tier 3 should get I and Tier 4 should get J

    2. Created the form using Cascading List:

    3. Added the following script:

    4. result:

    I hope this helps.

    Best regards,

    Alex B.

Reply
  • Here is your particular example using Cascading List:

    1. Created the following list group. On this example selecting Tier 1 ->A and  Tier 2 -> F, Tier 3 should get I and Tier 4 should get J

    2. Created the form using Cascading List:

    3. Added the following script:

    4. result:

    I hope this helps.

    Best regards,

    Alex B.

Children