Better form validation and UI feedback.