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.

Changing HTML Structure Before Render

  1. Is there any hooks I can use to change the layout of the form? I need to create a advanced table layout for a form where I can take form field data and split it into multiple table td sections... is there a hook where I can do this?

    Posted 12 years ago on Tuesday December 20, 2011 | Permalink
  2. gform_pre_render is available and can be used to modify the form before it is displayed. I'm not sure if you can accomplish what you need to, but that is the place to try it.

    The other option is to add table markup to your form in the form builder, and then group the fields into sections in your < td >.

    Posted 12 years ago on Wednesday December 21, 2011 | Permalink