Home Forums Front-end Issues Frontend Custom Validation for acf_form Reply To: Frontend Custom Validation for acf_form

  • Sorry, I understand the forum restricts certain things for a reason but I was unable to delete my reply or edit the previous one. The validation code does get called but my testing data was wrong which is why it wasn’t triggering that particular error.

    If I add “This is a test” at the top of my email validation function it shows it in the Ajax’s return value. What I don’t understand is why all the other validation errors show but not the custom one. I took a screenshot because I thought it would be easier to show than try and explain:

    Notice the custom errors (as well as the default validation) appears in the response but only the default validation errors show up on the form fields themselves.