Support » Plugin: Advanced Custom Fields: Gravityforms Add-on » Front End Publishing And Retrieving from REST

  • Resolved legendofkin

    (@legendofkin)


    Hey there,

    I am working on a site for a client that uses the ACF Gravity Forms addon so that we can give users a front end submission experience. The catch is that we’re pulling the data into a progressive web app using the REST API.

    The custom post type and all associated fields appear in the back end of WordPress after the front end form submission, but the ACF string in the response from the API is missing. If I update the page from the back end (without changing anything) the fields all become available.

    I’ve tried to do some digging on my own, but there’s a bit of a time crunch on this one, so I figured I’d go to the source!

    I have found a set of hidden fields that ACF has in the post editing page, and I suspect the issue lies somewhere within those fields…

    Here’s the potentially useful bit of code:

    <div id="acf-form-data" class="acf-hidden">
    				<input type="hidden" id="_acf_post_id" name="_acf_post_id" value="164" />
    				<input type="hidden" id="_acf_nonce" name="_acf_nonce" value="1e469c5f3e" />
    				<input type="hidden" id="_acf_validation" name="_acf_validation" value="1" />
    				<input type="hidden" id="_acf_ajax" name="_acf_ajax" value="1" />
    				<input type="hidden" id="_acf_changed" name="_acf_changed" value="0" />
    					</div>

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Front End Publishing And Retrieving from REST’ is closed to new replies.