Support

Account

Home Forums ACF PRO Can I attach ACF form validation to any meta box?

Solving

Can I attach ACF form validation to any meta box?

  • 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

  • I decided to post this in the Backend Issues forum since the ACF Pro forum doesn’t get much attention. I’m not sure how to delete it from this forum though. Sorry.

  • Hi @mattaton,

    Thanks for the post.

    The acf/validate_value filter does not accept other field types that have not been created by ACF.

    I would recommend you have a look at this plugin that can help in this:http://www.formvalidator.net/

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

You must be logged in to reply to this topic.