Question
Piping numerical response to previous question into custom validation of text entry form?
I am working on a survey that will be used to report aggregate numerical data. To reduce basic addition errors, I'm hoping to set up the survey so that respondents are required to report data that equals the total number of eligible participants they are reporting data on. Is is possible to set up validation for a text entry form that requires the sum of the form fields to equal the previous answer of total number of eligible participants?
For example, early in the survey I have a text entry form with two fields: the first field asks for total #of participants and the second field requests # of participants that meet program eligibility requirements. Several other questions in the survey ask them to report the demographics of the eligible participants. Using gender as an example of this, the sum of totals for gender (number of males + females) should equal the # of eligible participants. If gender is a text entry form variable, can I set up validation to require the response to equal the total number of eligible program participants entered previously?
Thanks for any suggestions. Not seeing an easy way to pipe in a open-ended numerical response into custom validation.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.

And there, use the syntax "${e://Field/"enter embedded data name here"} to fill out your custom validation.
!
I've not tested this personally to make sure it works, but it's something to try, at least!
Then, as pictured above, instead of making the program sum boxes across questions/form fields - set these up as a constant sum question type. Then you can set the validation for Must Total and copy and paste the piped code for where you had your respondent enter number of eligible people.
Then set up content validation so that it checks your Sales Made is Less Than or Equal to VALUE 1. You will have to pipe in the value elsewhere and cut and paste the code into the validation box. If you have trouble getting it to set, make sure that an error message is chosen.