validate on radio button change