Logic/validation of numbers: How to set up validation of a Number question based on the answer in a previous Number question

0

Hi Team, 

 

I am looking to set up the maximum value in a number question as the value entered in a previous number question. Is this possible? Since we can force a value entry to match a value entered previously on the same page, I assume we should be able to set it as maximum rather than exact match…? 

 

Thanks in advance for your help.

Jim W (Moderator) answered
    1

    If your account allows it, you can develop a custom script that would set the max number validation property of a question.

    The script would use the sgapiGetValue function to get the value entered into the first question, and then use the sgapiSetQuestionProperty function to set the max number value of the second question.

    Jim W (Moderator) edited answer
      ×

      Login

      Question stats

      • Active
      • Views702 times
      • Answers1 answer
      • Followers1 follower