Assign Value for Text Box
- January 7, 2025
- 2 replies
- 308 views
Sorry for the complex question...
I'm trying to use conditional logic to total scores for a vulnerability assessment. Based on the answer, a score is assigned to the fields and then totaled by section. I'm struggling with the text box value. For "In what language do you feel best able to express yourself?" the value should be 1 for any answer besides "English". I looked around at a lot of questions regarding this and couldn't come up with an answer. The closest I got was using IF/ELSE to try and get the values correct.
The other fields are all set up as Radio buttons, so the value export is much easier. However some of the scoring section says things like "if question 8 OR 9 is a 'yes' then 2 points". Trying to wrap my head around how that looks in the custom calculation script. Any help is appreciated!
