Validation and merge codes

0

I want to use merge codes in validation . That is if the answer of first question 1 is 4 , then question 2 will accept only values greater than 4.  how to accomplish this validation .

vidhyakrishnaraju asked
    0

     I am not sure that you can do this with merge codes.  It is possible with custom scripting if you have a PROFESSIONAL or ENTERPRISE level account.

    There is an example of a script that does something similar in the documentation – https://script.surveygizmo.com/help/article/link/setting-max-total-value-dynamically.

    The script uses the ‘sgapiGetValue’ function to get the answer from question 1 and then uses the ‘sgapiSetQuestionProperty’ function to set the validation value for question 2.  The documentation includes an example that you can download to your account to review and modify.

    Good luck. 

    Jim Wetherill answered
      ×

      Login

      Question stats

      • Active
      • Views773 times
      • Answers1 answer
      • Followers0 followers