Your the best! Thanks so much for helping :)
Yes precisely. Here we go....
You are correct.
So basically what we are creating is a directory type site for a client. When a user creates a listing they can choose one or multiple different services or repairs that they offer.
So what we have at this point is a gravity form for the users to post a new custom post type that we created for listings. I have ACF fields created for all the data, and everything is working great. When a new post is posting through the front end (the new gravity form) the post is created, both WP custom fields and the ACF custom field inputs are populated with the entry from the gravity forms. This all works when a gravity forms field is passed to a regular text input ACF field. However other ACF fields such as multi-select dropdown, checkboxes (which I am particularly wanting to use), image fields, etc. are not getting populated when the gravity form is submitted. It looks like the custom fields (native WP custom fields meta boxes show values) are created, but the ACF fields in the edit post screen are blank.
The goal is that if the client wanted to edit a listing he can easily go in and edit the checkboxes (with the predetermined service and repair options - meaning he does not want people to insert their own services and repairs, he wants them to have to choose between 10 or so - hence using checkboxes).
So that's the jist of it. From everything I have read on this forum and on ACF, it seems as though ACF creates a new field with an underscore for the edit post screen fields. So...a new custom field created through ACF title "services" - gets populated with an input value through Gravity forms, but it sounds like I also need a way for it to populate "_services" as well??
Let me know if that gives you enough to go off or makes sense?
Posted 8 years ago on Monday January 23, 2012 | Permalink