Validation and merge codes


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

     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 –

    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


      Question stats

      • Active
      • Views3836 times
      • Answers1 answer
      • Followers0 followers