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

0

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. 

Example:

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
    0

    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:

    https://script.surveygizmo.com/help/sgapigetvalue

    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:

    https://script.surveygizmo.com/help/sgapisetvalue

    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
      ×

      Login

      Question stats

      • Active
      • Views197 times
      • Answers1 answer
      • Followers1 follower