Fixed directive form validation.