I’m having what I think is a similar issue with ACF PRO versions >= 5.5.0.
At present, I have front-end ajax submission forms that work well with ACF PRO 5.4.8. On the js end, the script first checks for validation errors via the acf/validate_save_post
action, and if the returned object from that call includes data.valid: 1
I go on to call an action attached to acf_form_head
that updates field values.
However, with versions >= 5.5.0, no data/object is returned from my first acf/validate_save_post
call.
Here’s an example of an object that’s getting sent to acf/validate_save_post
in my jquery ajax call:
{
acf[_validate_email]:"",
acf[field_5745dbdfc7e0b]:"Foo Bar",
action:"acf/validate_save_post",
_acfchanged:"1",
_acfform:"Mm0rU0VT[abbreviated]",
_acfnonce:"7ba82c905c"
}
And here’s the response that call gets using ACF PRO < 5.5.0:
{
data:{
errors:0,
valid:1
},
success: true
}
Any ideas about why I’m no longer getting a response to this call would be very much appreciated!!!
Thanks,
Ethan