12% off of LTD using this coupon: TWELVEPERCENTOFF. Promo ends on 2 Dec midnight UTC.
Published on May 27, 2021

How to Populate Gravity Forms in ACF Select Field and Display the Selected Form in Oxygen

Sridhar Katakam

This members-only tutorial provides the steps to show the available Gravity Forms forms as choices of a Select field created using Advanced Custom Fields and output the selected form on the frontend in Oxygen.

List of all active Gravity Forms forms
Form selector dropdown when adding/editing a products (can be any CPT item)
Selected Gravity Form form on the frontend

Step 1

If you have not already, create a field group having a Select type of field.

Note the field name. In this example, it is brochure_form.

Leave the Choices blank.

Set the field group's location to your desired post type. In this example, it is Product.

Step 2

Add/edit your Products and select the corresponding Gravity Forms form for each.

Step 3

Install and activate Code Snippets plugin.

Go to Snippets > Add New.

Title: Populate Gravity Forms forms in ACF Select field

Code:

This is a premium members-only content.

To view the rest of the content, please sign up for membership ($47/month or $599 one-time).

Already a member? Log in below or here.

tagschevron-leftchevron-rightchainangle-rightangle-upangle-downfolder-omagnifiercrossmenuchevron-downarrow-right