PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

gform_pre_render + Bypass form

  1. Jive Software
    Member

    I am trying to bypass the form in the gform_pre_render hook. Is there any way to echo the thank you content and return the function as false or NULL to prevent the "Oops! We could not locate your form." message, or prevent the form from rendering .

    Posted 11 years ago on Monday November 5, 2012 | Permalink
  2. Jive Software
    Member

    I found a partial work around for this... In the $form set the field array to an empty array... The only issue i had was hidding the button... Unfortunatly the only solution i could find was to add a "hide" class to the $form css property.

    Posted 11 years ago on Tuesday November 6, 2012 | Permalink