Single question with different question text based on previous response


I have questionnaire whereby the question wording differs slightly depending on how the respondent has answered a previous question:

Q1 – How did you receive your information?

A1 – Automated message

A2 – In person

So if the response at Q1 is A1 – they received information via an automated message then the question text for Q2 reads How satisfied were you with the accuracy of the information that was provided in the message? If the answer at Q1 is A2 – In person then the question text reads: How satisfied were you with the accuracy of the information that you were given?

We can’t change the wording of the question as this is a tracker that has been going for a number of years, and we can’t have the responses in two separate questions. Is there any way to get this into a single question in Survey Gizmo?

My thought was to use a hidden question and pre-populate a response with the question text and then use that question as a merge code but I couldn’t work out how to do this. I also managed to get it to work by changing the reporting value of Q1 to be the question text. However there are more than one questions that have different text based on the response at Q1 so this doesn’t work for these.

Any help would be much appreciated.




Community Admin answered

    Hi Jim

    Thanks for the suggestion – we don’t have access to custom scripts on our plan unfortunately.


    andrew answered

      Hi Andrew,

      Since the scripting isn’t an option I would suggest putting your varied question text in separate text/instruction elements that you can then apply logic to to display when you want them to display. You can then hide the question text on the actual question.

      You’ll also want to hide the border that displays between the text/instruction elements and the question so they look like a single question. You can do this with a little CSS.

      Here are a couple of tutorials to get you started:

      I hope this helps!

      Bri Hillmer
      Documentation Coordinator
      SurveyGizmo Customer Experience Team

      Community Admin answered

        If your account allows it, you could develop a custom script to could change a question based on a response to a preceding question.

        The script would use the sgapiGetValue function to get the response to the first question.  The next step would be to write some IF ELSE statements to evaluate the response and use the sgapiSetTitle function to change the question text of the second question.

        Jim W (Moderator) answered


          Question stats

          • Active
          • Views3656 times
          • Answers3 answers
          • Followers1 follower