Require and validate different fields and form conditions