-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updated validation to not use question name #116
Conversation
New validation:
|
…ude name, there was another bug with the validation where page3 remained hardcoded. That has been fixed
Ignore this for a moment, still not working. |
actually it was a problem with questionnaire strings sometimes containing '' marks, so now I've used ` and " because python adds in 's to escape quotations when using triple quote syntax, which wouldn't work for javascript! This should work...I think |
What about the case when the text has single quotes, eg ' ? |
ok, since it is clear we need to be able to test the proper function of every survey, I think we need the robot to step through these and confirm making it to the end of each. |
I tested this function with three types of quotes in the meta-text (question) string: ", ', and `. It works with all of them. Robot testing would be good too |
@IanEisenberg could you please rebase with master? I now have a survey robot to test this new change. |
Done. On Sat, May 7, 2016 at 11:25 AM, Vanessa Sochat [email protected]
Best, |
Ty! |
Ok, I've tested all surveys with the new validation, and was able to make the name change to ensure that the checkboxes have unique names, eg:
After this is merged, I will update expfactory on expfactory.org, and we will want to immediately test taking a survey, and seeing if all checkbox responses are represented in the results. The unique names should ensure that they are. |
I will be ready to test whenever you tell me. On Sat, May 7, 2016 at 1:35 PM, Vanessa Sochat [email protected]
Best, |
Changing validation to not use names so that expfactory/expfactory-surveys#50 can be addressed. The validation now uses the shared meta-text