Support

Account

Home Forums General Issues ACF integration with forms

Helping

ACF integration with forms

  • Hi there,
    I have a pre-sales question:

    I am trying to enhance our water polo group site.
    Parents sign their children up for a waterpolo membership and during that term register for multiple tournaments. Every time they register they have to re-enter all their kids information.
    I am trying to figure out a way to store and retrieve their siblings information and pull it into woocommerce (via a form plugin) each time they sign up for a tournament. The children information will have to be populated into a checkbox or dropdown menu and attached to the order-meta.
    There are plenty of plugins like gravity that can attach to the order, but I can’t seem to figure out a way to pull the data into the checkbox field. ACF seems like it might simplify the array so it can be recalled via the getfield???

    Any ideas here?

    Joel

  • Hi @joelpdavis,

    Thanks for the post.

    Yes ACF can help in the population of data in another field using the acf/load_field filter.

    This filter helps to modify the value of a field after it is loaded from the database and before its value has been returned on the frontend.

    You can have a look at this filter here: https://www.advancedcustomfields.com/resources/acfload_field/

    I hope this helps.

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

You must be logged in to reply to this topic.