better validation messaging; preventing submit on invalid form