• Resolved curtismchale

    (@curtismchale)


    Using the latest versions of Gravity Forms and your plugin.

    When I include the ID I want to edit via the ‘update’ parameter of the shortcode all the fields of the form are populated properly.

    If I grab the URL via $edit_link = apply_filters('gform_update_post/edit_url', get_the_ID(), home_url('/edit-listing/')); and echo it only a few fields populate themselves.

    I get the same result (only some fields populating) if I use:

    do_action('gform_update_post/edit_link', array(
    		'post_id' => get_the_ID(),
    		'url'     => home_url('/edit-listing/'),
    		) );

    Changing the ‘update’ item in the shortcode to any of the posts I’m trying to edit populates all fields on any of them.

    https://wordpress.org/plugins/gravity-forms-post-updates/

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

The topic ‘do_action not populating fields’ is closed to new replies.