Hello! I would like for participants to estimate in percentages how many people in their social network supported different candidates. I want all of the values to add up to exactly 100 percent and for participants to not be able to advance until they do. Here's some of the script for reference:
<surveypage socialnetwork_support>
/ caption = "Please enter a percentage, from 0% which would reflect that you think none of the people in your network supported a candidate, to 100% which would reflect that you think that all the people in your network supported a candidate.
50% would reflect that you think that about half of the people in your network supported a candidate.
Approximately what percentage of people in your network supported: (Your numbers must sum to 100%)"
/ questions = [1-2 = noreplace(socialnetwork_support_1, socialnetwork_support_2); 3 = socialnetwork_support_3; 4 = socialnetwork_support_4]
/ showpagenumbers = false
/ showquestionnumbers = false
/ fontstyle = ("Arial", 12pt, true)
</surveypage>
<textbox socialnetwork_support_1>
/ caption = "Candidate 1"
/ mask = integer
/ range = (0,100)
/ maxchars = 3
/ required = false
</textbox>
<textbox socialnetwork_support_2>
/ caption = "Candidate 2"
/ mask = integer
/ range = (0,100)
/ maxchars = 3
/ required = false
</textbox>
<textbox socialnetwork_support_3>
/ caption = "Candidate 3"
/ mask = integer
/ range = (0,100)
/ maxchars = 3
/ required = false
</textbox>
<textbox socialnetwork_support_4>
/ caption = "Candidate 4"
/ mask = integer
/ range = (0,100)
/ maxchars = 3
/ required = false
</textbox>