rochak_khandelwal
A simple solution could be to skip the second question for those who select equally both and within survey flow create a branch logic (if equally both is selectrd) and include embedded data hardcode the value 50 for them for each option. For the second condition you already know how to include that validation, just push the same in similar embedded data and you will have your values at one place.
But if you want to show the question to both you will not be able to do the if condition here, you will have to create 2 similar questions and show either of them based on their previous questions response.
Hope it helps!
https://community.qualtrics.com/XMcommunity/discussion/comment/52157#Comment_52157Hey Deepak, thanks for your reply. However, I do want to put both the questions, otherwise I could have just eliminated the first question and used the second one only.
https://community.qualtrics.com/XMcommunity/discussion/comment/52160#Comment_52160I think you misinterpreted my solution you have to just skip for those who select equally both as you already know it will be 50-50. Rest can see it. Also, if you want to show to all you need to create two questions or custom code the custom validation here if needed in just one question.
Hope it helps!
https://community.qualtrics.com/XMcommunity/discussion/comment/52162#Comment_52162I was not able to understand part of your first reply. I could understand the 50-50 part and skipping the second question for those fellows. But, How should I ensure first validation for remaining set of people.
I hope I am able to make myself understand.
rochak_khandelwal
The first validation isif I am not wrong it needs to be 50-50 if equally both is selected and if other is selected you need one greater than other. You can apply it like this, if you are skipping for equally both:
Hope it helps!
Good morning from a cloudy Sweden!
I dont really see why you even need the first question. The data you get from question two answers question one automatically.
Just my lousy two cents
-Mattias
rochak_khandelwal,
You can use custom validation on the constant sum question like this:
The piped text, in order, is as follows:
$e{ 100 - q://QID301/ChoiceNumericEntryValue/2 }
(i.e., 100 - Amazon constant sum value)
${q://QID301/ChoiceNumericEntryValue/2}
(i.e., Amazon constant sum value)
${q://QID301/ChoiceNumericEntryValue/1}
(i.e., Flipkart constant sum value)
No other questions, skip/display logic, or survey flow logic needed.