Custom Validation for numeric questions


Hi All, 

I am trying to do a custom validation for a van westendorp pricing analysis.  So for example, I need the max below for Q2  to be lower than Q1 below, but I am having problems with custom validation. 


Q1; At what price would you consider this product to be a bargain?

Q2: At what price would you consider this product to be so inexpensive that you would question the quality? 






Jim W (Moderator) answered

    You would have to create this capability using custom scripting (if it is available in your account).

    The first step would be to use the getvalue function to get the answer to question Q1.  The next step would involve whatever calculations you would need to formulate the max value for Q2 .  And the final step would be to use the setquestionproperty function to set the max_number value to your calculated value.  The documentation for these functions has working examples that you can use to guide your development.  

    If you don’t have the skill or patience to develop your custom script  SurveyGizmo offers programming services.


    Good luck!

    Jim W (Moderator) answered


      Question stats

      • Active
      • Views288 times
      • Answers1 answer
      • Followers1 follower