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.

Reference a form by name instead of id

  1. Hi.
    I am currently working on some advanced forms where I am using a lot of hooks to target specific forms for various reasons. F.ex. In order to manipulate data for a specific form with gform_pre_render I add the form id like this gform_pre_render_2.
    I am building the site on a local machine first, but then when I need to publish this to a live site, the forms have different ids and all my references are wrong.

    It would be awesome if there was a different way of targeting a specific form, maybe by a unique name like this: gform_pre_render_$unique_name.

    I am guessing that this is not possible, but it would be great if this could be built into Gravity forms. :-)

    Thanks
    Vayu

    Posted 12 years ago on Thursday April 5, 2012 | Permalink