What is the code you are trying to run?
I am not familiar with the field type of "Box". There are text fields, combo box, list box, and check box and they do not all behave the same way so knowing the exact type of form field and value or values is important for writing any script or program. Also, if you use a list box or combo box for selecting an item for a list of choices, you might not even need an "if" statements since those 2 fields have an option to specify the export value for that selection.
They are text fields.
And I did receive errors on a couple that I tried and then no errors on others and they still didn't work.
Thank you so much!
Can you post a script that you've tried? You would normally use a custom calculation script for the Severity field for this.