Skip to content

Gravity Forms AJAX confirmations break #3

@wgroenewold

Description

@wgroenewold

Circumvented this with:

add_filter( 'gform_confirmation', array( $this, 'reroute_confirmation'), 10, 4 );

public function reroute_confirmation($confirmation, $form, $entry, $is_ajax){
        $controller = stencil::controller();
        $controller->set('confirmation', $confirmation);
        $controller->display( 'snippets/confirmation' );
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions