Use last value from cascading dropdown in the following question’s text? [Pro Account]


I know there is no merge code for cascading dropdowns, however I would like to use scripting to assign a specific option a value, then put that value into the following question. 


What was the first thing you did this morning? (select from a three layer dropdowns)

How long did you spend doing [that thing]?

Thanks for your advice on how best to achieve this!

Dominic Sharpe answered

    I haven’t tried this specifically and don’t know your comfort level with scripting, but the following functions will likely be a good starting point:

    Getting the data from a Cascading Dropdown will likely output an array, so you will need to gran a specific value from that array and use that value to set a hidden filed (Hidden Value) via the following:

    Once you’ve set the value of the Hidden Value, you should be able to use the merge code for the Hidden Value to pull into the text of the question.

    The specifics of this script are a bit outside my abilities, otherwise I would help, but hopefully this is helpful in getting started!

    Dominic Sharpe answered


      Question stats

      • Active
      • Views2778 times
      • Answers1 answer
      • Followers1 follower