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.

Is There A Method To Access A Form Object That Is Not A Hook

  1. I know we can get the form object relying on hooks and actions. But, is there a way to return the form object?

    I need to get access to a form's Thank You or Confirmation message, instead of displaying the form itself, based on a specific scenario.

    For example, gravity_form() will echo the real form. Is there a function to just get the form object?

    Posted 13 years ago on Wednesday October 26, 2011 | Permalink
  2. Hi Aaron,

    You can use the RGFormsModel::get_form_meta($form_id) static method to retrieve the form object.

    Better late than never? :P

    Posted 13 years ago on Wednesday November 23, 2011 | Permalink
  3. Thanks David, A little late but still great information to have. Thanks for getting back to me.

    Posted 13 years ago on Friday November 25, 2011 | Permalink
  4. Sorry for the delay. Hope you were able to get your problem resolved.

    Posted 13 years ago on Friday November 25, 2011 | Permalink

This topic has been resolved and has been closed to new replies.