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 .
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 .
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.