Home Forums General Issues Use 'field_groups' and 'fields' in the same acf_form()


Use 'field_groups' and 'fields' in the same acf_form()

  • Hey!

    I have been using the ACF for a while and recently came across a simple question.

    Is there any way to use the ‘field’ and ‘field_groups’ tags in the same ‘acf_form ()’ without the ‘field’ filtering the fields brought from ‘field_groups’?

    I ask this in the situation where I want to have a form with all fields of given ‘field_groups’ + a single field from another ‘field_groups’

    Thank you!

  • Currently, no. If there are fields then field groups are ignored. You would need to include all of the fields in the one group and the one field in the other groups in the “fields” arg.

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

The topic ‘Use 'field_groups' and 'fields' in the same acf_form()’ is closed to new replies.