• Resolved dvincitravis

    (@dvincitravis)


    Hi –

    I maintain a site that uses Form Vibes 1.4.1. It also has Gravity Forms 2.4.18.13.

    When a Gravity Form is submitted (whether via AJAX or non-AJAX), the confirmation message does not appear. The submission goes through, but the form is simply redisplayed, with the submitted values in the fields.

    I’ve narrowed the problem down to FormVibes\Integrations\GravityForms::gravity_form(), in /form-vibes/inc/integrations/gravity-forms.php. This method is used as a filter for the “gform_confirmation” hook.

    That filter should return an array:

    https://docs.gravityforms.com/gform_confirmation/

    I’m not sure what GravityForms::gravity_form() is supposed to do, but it doesn’t return any value at all – which effectively erases the confirmation.

    Commenting out line 37 of this file (so the filter never gets registered) causes the Gravity Form to behave normally again:

    // add_action( ‘gform_confirmation’, [ $this, ‘gravity_form’ ], 10, 4 );

    Is this intentional, or is it a bug?

    If it’s intentional: why does Form Vibes do this? My Gravity Form currently appears broken to users – they have no way of knowing whether their submission is successful or not.

    If it’s a bug: can I safely use remove_filter() to deregister this filter, in order to hack my way around the problem?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Form Vibes prevents Gravity Forms from displaying confirmation messages’ is closed to new replies.