I'm trying to do two things:
Show a hidden field if an option is selected, and hide that field if not (I have this part working - although if I use a variable it doesn't work)
If the option is selected, add a required attribute to the field that was displayed. When another option is selected, remove the required attribute.
Here's a fiddle link:
http://jsfiddle.net/tucsonlabs/QCY2Q/