Add required for radio buttons, change my if for the type of inputs and selects