[Solved] Can I use a formula to populate a default answer?


I want to subtract one question response from another to display a default answer (number).  

So far, I have tried this and it does not work:  =[question(“value”), id=”254″]-[question(“value”), id=”257″]

Jim Wetherill selected answer

    Best answer


    The merge codes are designed for inserting data into various places within your survey.

    To perform math functions you will have to develop custom scripts (if you have a PRO or ENTERPRISE level account).

    The script would look something like this:

    %%X = sgapiGetValue(254)

    %%Y = sgapiGetValue(257)

    %%Z = X – Y

    You can learn more about custom scripting in the SurveyGizmo documentation – http://script.surveygizmo.com/help/article/link/getting-started-with-custom-scripting

    Jim Wetherill selected as best answer


      Question stats

      • Active
      • Views2168 times
      • Answers1 answer
      • Followers1 follower