New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Look for a way to support ACF validation rules in Inline Edit #627

DGStefan opened this Issue Nov 4, 2016 · 0 comments


2 participants

DGStefan commented Nov 4, 2016

Apparently, Admin Columns “inline edit” doesn’t use ACF validation filters like:

Example filters
function acp_validate_all_field_required( $valid, $value ) {
if ( ! $value ) {
$valid = 'Field is required';

return $valid;
add_filter( 'acf/validate_value', 'acp_validate_all_field_required', 10, 2 );
add_filter( 'acf/validate_value/type=number', 'acp_validate_all_field_required', 10, 2 );
add_filter( 'acf/validate_value/name=acf_number', 'acp_validate_all_field_required', 10, 2 );
add_filter( 'acf/validate_value/key=field_5303678ae5826', 'acp_validate_all_field_required', 10, 2 );

@DGStefan DGStefan added this to the Requested features milestone Nov 4, 2016

@DGStefan DGStefan modified the milestones: Future Release, 4.3, 4.2.4 Mar 2, 2018

@DGStefan DGStefan closed this Mar 7, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment