Support

Account

Home Forums General Issues Use field values from one group as fields in another group

Helping

Use field values from one group as fields in another group

  • I want to be able to curate a list of questions, so I’d have a field group with a repeater field to add questions and then have the questions as fields on another field group which, when used, would then have the answers as the values. Is this possible?

  • Yes, you could do this but only by using PHP to create the field group. You would need to set up your function to add the field group after ACF is set up add_action('acf/init', 'your_function_name')

    See this: https://www.advancedcustomfields.com/resources/register-fields-via-php/

    In your action you can get the values of the repeater and create the fields in the second field group.

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

You must be logged in to reply to this topic.