Spit balling here. You might be looking at using some Javascrip/jQuery. You’d want it to either set or toggle the attributes depending on the selected choice.
You can also try the hide attribute, or just implement your own CSS addclass(). There are probably much cleaner ways to do it. But it will get you started. I use Snips n Scripts to implement my jQuery.