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.

Manually set ID and name

  1. g01010
    Member

    Hi - is it possible for me to set the 'name' and 'ID' attributes of fields? For instance, GF automatically creates the name 'input_1' for a text input but I'd like to specify the name 'my_field' for that input.

    Is that possible?

    Many thanks.

    Posted 12 years ago on Monday February 6, 2012 | Permalink
  2. No, the form builder dynamically assigns field names so it's not possible to change it unless you use jQuery client-side to change the name value.

    http://api.jquery.com/html/

    Posted 12 years ago on Monday February 6, 2012 | Permalink
  3. I have several different forms for a website. I am using gform_after_submission hook to make it so that all form submissions from the various forms automatically add to my auto responder script. Considering that one form has a different id for the email field than another form, how do I make sure that the EMAIL regardless of the form is always submitted to my autoresponder?

    Posted 12 years ago on Sunday April 8, 2012 | Permalink