Option Feild Text Value in IF statement
-
I have 6 options, each are unique (Text Field), but have similar values on submit
I need a hidden field to have a value calculated based on the option selected
EG
Option 1 – This is an Option – Value on submit = 5
Option 2 – This is another Option – Value on Submit = 6
Option 3 – This is a Third option – Value on Submit = 7
Option 4 – This is the forth Option – Value on Submit = 5
Option 5 – This is the Fifth Option – Value on Submit = 6
Option 6 – This is the last option – Value on submit = 6If (fieldname3 ==”This is an Option” , fieldname3.val * 0.25, 0)
Do a hidden field for all 6 options (one each) and then added them all together to get the right value
Thanks in advance
The topic ‘Option Feild Text Value in IF statement’ is closed to new replies.