Add values to hidden fields based on score | Community
Skip to main content
Answered

Add values to hidden fields based on score


Hi,
I am trying to create a form in which based on the calculated score of the questions, I set the value of a hidden field. 

Example- 
Hidden field - @hidden

If 
Score < 5 then @hidden = “ABC”

Score > 10 then @hidden = “XYZ

Is this approach possible?

Best answer by john.desborough

@sidda - simplify it - create it just as a variable ie in logic create the variable hidden as s text variable with no value in it by default

 

then use the logic rules as you mention. 

des

View original

3 replies

john.desborough
Forum|alt.badge.img+6
  • Certified Partner & Champion
  • 5307 replies
  • Answer
  • August 17, 2022

@sidda - simplify it - create it just as a variable ie in logic create the variable hidden as s text variable with no value in it by default

 

then use the logic rules as you mention. 

des


  • Author
  • Explorer
  • 1 reply
  • August 19, 2022

That Works. 
Thanks for your help John!


Gabi Amaral
Ex–Typefomer
Forum|alt.badge.img+5
  • Ex–Typefomer
  • 1777 replies
  • August 22, 2022

Feel free to send your form to us so we can test it. We can also give you some feedback on it! 😉


Reply