set value to null if there is no radio button selected