added checkbox form validation