Custom Validation for numeric questions

0

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? 

 

 

 

 

 

Caitlin Murphy362904 answered
    0

    This is definitely possible using Custom Scripting as Jim says, but I find using Javascript to accomplish this provides a better experience for the end user (gives real-time feedback/error messaging without having them submit the page and taking them back). I’ve developed surveys that incorporate Van Westendorp before, and I’m available for consulting at the moment, so let me know if you need a hand!

    Caitlin Murphy362904 answered
      0

      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
        ×

        Login

        Question stats

        • Active
        • Views2256 times
        • Answers2 answers
        • Followers1 follower