Add form validation for context path