Right now we have two surveys. We calculate a score in survey_1 and what i’d like to do is pass this score into survey_2 using the redirect feature and then be able to create a final score from score_1+score_2.
But by the looks of it, hidden fields can not be handled as numeric types?
And so as I understand it, I’m using the numeric type score variable in survey 1, and then using this to construct my survey_1 redirect url but this then would get cast to a utf-8 encoded string.
e.g.
- someone completes survey_1 with the score=3451
redirect=https://https://mysurvey.com/part2.php?score_1=@score
- They get sent to: https://https://mysurvey.com/part2.php?score_1=3451
survey_2 loads up with a hidden field score_1=”3451”
So when I pass it in as a hidden field to survey_2 it’s still a string that I’m not able to cast back to a numeric value for combining with my survey_2 score variable?
Is this functionality anywhere on the horizon? I can see lots of use cases for wanting to evaluate a hidden field as a numeric type.