Improve form validation for continuous deployment