Add form validation for job patterns