Skip to main content
Answer

Add values to hidden fields based on score

  • August 16, 2022
  • 3 replies
  • 120 views

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

3 replies

john.desborough
Forum|alt.badge.img+6
  • Certified Partner & Champion
  • 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
  • August 19, 2022

That Works. 
Thanks for your help John!


Gabi Amaral
Ex–Typefomer
Forum|alt.badge.img+5
  • Ex–Typefomer
  • 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! 😉