Operating on Hidden Fields? | Community
Skip to main content
Answered

Operating on Hidden Fields?


oliverfarren
Forum|alt.badge.img

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.

  1. someone completes survey_1 with the score=3451

redirect=https://https://mysurvey.com/part2.php?score_1=@score

  1. 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.

Best answer by Liz

Hi @oliverfarren Thanks for stopping by the community! I racked my brain trying to think of a workaround for this and also talked to our support team, but we don’t currently have a solution. :( Though, I will share this feedback with our product team, and if you have any other questions for us, please let us know. 

View original

3 replies

Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14960 replies
  • Answer
  • July 6, 2021

Hi @oliverfarren Thanks for stopping by the community! I racked my brain trying to think of a workaround for this and also talked to our support team, but we don’t currently have a solution. :( Though, I will share this feedback with our product team, and if you have any other questions for us, please let us know. 


  • Navigating the Land
  • 1 reply
  • February 21, 2022
Liz wrote:

Hi @oliverfarren Thanks for stopping by the community! I racked my brain trying to think of a workaround for this and also talked to our support team, but we don’t currently have a solution. :( Though, I will share this feedback with our product team, and if you have any other questions for us, please let us know. 

Definitely in need of this feature...any updates?


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14960 replies
  • February 24, 2022

Hi @noahpi I’m afraid I don’t have any new updates on this, but as always, we’ll post them here if so!


Reply