I did have the same issue. And I wasted enough time for the answer.
At first be sure that:
The ajax request isn’t failed and happens. So, check:
- Is acf_form_head() before get_header() and run before any html is output?
- Does your theme contain call to wp_head()?
- Does your theme contain call to wp_foot()?
- Are your deferring the loading of JavaScript or otherwise altering the way that JavaScript is loaded on the page?
(Look at this ACF support topic too. If you use acf_form() for creating new user look at this topic).
But in my case the root was is_admin() in this line into the ‘acf/validate_value’ hook:
if ( ! $valid || is_admin() ) { return $valid; }
Because is_admin() returns ‘true’ by AJAX requests. As a result, the validate function didn’t work.
Hope it will helpfully for somebody.
Related Posts:
- ACF Custom validation message not showing up
- Website goes down while importing backup (Internal server 500)
- update_post_meta and update_field ony working when saving the post
- WP REST API: Order posts by meta value (acf)?
- Get the label from ACF checkbox [closed]
- How to update a custom post title from a front-end form using ACF fields?
- Using meta_query and custom fields within pre_get_posts to return posts within a numerical range
- Set default date in datepicker of an advanced custom field
- How to order by just the Time Field in Advanced Custom Fields
- Using Gutenberg parse_blocks Function With ACF Custom Blocks?
- ACF get field label in custom code
- How to customize a divs background dynamically using Advanced Custom Fields Plugin?
- How to update custom taxonomy meta using ACF update_field() function or any other wordpress function
- Thumbnails generated from PDF in the “Media” section – how to show them in theme template?
- Post Object field orderby (Advanced Custom Field)
- How to count ACF Flexible Content Rows?
- How to write PHP array to render JSON-LD Markup for Job Postings, with ACF
- Is it safe and good practice to use do_shortcode to escape?
- Post edit – Media Library – Only get images from current post
- Output comma with get_field in Advanced Custom Fields [closed]
- Gutenberg on an ACF options page
- Changing a specific value inside a complex repeater/flexible content field (ACF)
- Wrap Gutenberg blocks both frontend/backend (PHP approach with ACF)
- change value of fields created with advanced custom fields in the front
- How to filter get_post with ACF by a checkbox field?
- How to get custom fields in a post when published
- Get all custom fields with wp’s get_posts()
- Get posts with multiple meta values
- How to populate a parent page with its child subpages and associated templates
- Advanced Custom Fields Plugin: Get file URL into Parent
- Find the first occurrence of a custom field
- ACF relationship field outputting unpublished content [closed]
- ACF Relationship – Limit to specific pages
- Show only the future event (Advanced Custom Fields)
- Can’t get “has_sub_field()” to work in a conditional [closed]
- Display total unique custon field results
- Advanced custom fields – pulling data in from another page
- Override not echoing my string or dom element
- ACF relationship fields ‘The results could not be loaded’
- Displaying user data within ACF relational field (user type)
- How to show Advanced Custom Fields data above share links, pagination, etc
- How to get file upload value in front-end to put in ACF image field
- ACF checkbox array is returning numbers, not labels [closed]
- Sorting the portfolio by an ACF? [closed]
- How to change the background color of my header dynamically based on a Custom Posts types color value?
- Advanced Custom Fields – category image
- TinyMCE’s “Clear Formatting” button doesn’t remove lists and headings
- How can I apply an ACF field to a single custom post if it refers to the taxomy of that post type in the rules?
- ACF: Update field value based on value of another field
- Getting “Years Only ” from ACF Date Picker field to Hidden filed in the fields group
- Prevent other hooks from firing after wp_update_post() outside of editor
- Can I use WP blocks in a template?
- Set post publish date by custom field
- Use Acf Repeater data as options for a different acf custom select field
- Where to place CSS if add a new layout to FLexible Content Template
- ACF get group fields from current post taxonomy
- Explore custom posts (CPT UI & ACF) database from WP UI
- Transitioning Laravel App into WordPress (Portfolio Website)
- get the title of a relationship field
- How to call ACF field in functions?
- Creating permissions rules with ACF repeater field
- Multiple orderby date arguments
- Looking for a javascript callback action to re-initiate a custom slideshow in gutenberg
- Create Shortcode for php code in functions.php
- ACF: Updating gallery field doesn’t work in backend
- How to pass get images in homepage also in portfolio page?
- Pulling author name via $_GET parameter
- Srcset incorrect with Owl Carousel and ACF?
- Rearranging Content After Blog Post
- ACF order relationship by date
- Advanced Custom Fields – Google Map Won’t Render Unless Variable Dumped
- Call the cropped image of a custom field in the theme
- How to create an ACF shortcode with Repeater Field in WordPress functions.php?
- Generate custom sized images from certain images in media library
- Relationship field problem: Uninitialized string offset: 0 in
- How to use an ACF taxonomy relationship field as part of the URL structure for a custom post type?
- ACF iterating past the while-loop, defining a max number to loop
- wp_insert_post with advanced custum fields repeater
- Only list category if it has a custom field image
- Displaying page list and a custom field
- Gettext for custom field checkbox values
- How to add admin functionality to allow ability to choose different field group to display on webpage using Advanced Custom Fields?
- Separate [Advanced Custom Field] values by commas
- Time sort with meta_key using UNIX timestamp failing due to date differences
- Advanced custom fields – If/ while field problem
- How not to strip leading zero in advanced custom fields
- ACF + WPML: How to translate date fields?
- ACF orderby not sorting dates correctly [closed]
- update_field() with repeater fields issue [closed]
- Advanced Custom Fields Image Crop
- Display ACF field only if value is greater than 0
- How do I convert an ACF field from a string to an integer?
- Using ACF custom field for custom post type to order categories
- How can i get custom field to apear on my wordpress admin area (post_type)
- How to use ACF repeater? [closed]
- Updating post object via ACF breaks front-end
- show only first element from a type with acf
- ACF – if field has value within Field Group conditional statement [closed]
- Parsing value from Lottie JSON file
- How do I add an ACF shortcode to a non-ACF page?