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

0

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

    0

    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
      ×

      Login

      Question stats

      • Active
      • Views454 times
      • Answers1 answer
      • Followers1 follower