Support

Account

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

  • I do not think so. There would be no point in doing so, but I could be wrong.

    But the thing I do know is that for some reason when you add your validation what is being returned is somehow different than what ACF expects to be returned.

    What should be returned is JSON object.

    You could add custom javascript and use this filter to log the returned value to console https://www.advancedcustomfields.com/resources/javascript-api/#filters-validation_complete to see.

    Maybe it has something to do with __() calls, try removing those, I doubt it, but you never know.