Support

Account

Home Forums Backend Issues (wp-admin) Can I attach ACF validation to a non-ACF field?

Helping

Can I attach ACF validation to a non-ACF field?

  • I have a post parent metabox and I need to make sure that the user chooses a parent for this post type. I have ACF fields all over the place and I like the way ACF checks for required fields and the feedback it gives. Can I add in a metabox that isn’t created by ACF to the validation process and have it flagged the same way as ACF fields?

    Thanks!
    Matt

  • Hi @mattaton,

    Thanks for the post.

    Unfortunately it is not possible to target non-acf fields from within the acf/validate_value filter.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Can I attach ACF validation to a non-ACF field?’ is closed to new replies.