Added checkbox validation.