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.

Captcha input ID problem

  1. Running into a problem with captcha labels and input ID

    The form is working fine, however it is not validating properly due to a discrepancy in the form code:

    <label class="gfield_label" for="input_1_9"></label>
    <input id="input_input_1_9" type="text" name="input_9">

    For some reason it's adding and extra "input" line at the beginning of the input ID. Any reason this is happening and how can I fix it? Thanks

    Posted 12 years ago on Friday December 2, 2011 | Permalink
  2. This is the validation error from w3.validator.org

    Line 249, Column 1437: The for attribute of the label element must refer to a form control.

    …l class='gfield_label' for='input_1_9'></label><div class='gfield_captcha_cont…

    Posted 12 years ago on Friday December 2, 2011 | Permalink
  3. We'll take a look at the code and see what is going on and get it corrected in the next release.

    Posted 12 years ago on Friday December 2, 2011 | Permalink
  4. Thanks. Any idea for a time frame on the fix for the next release?

    Posted 12 years ago on Saturday December 3, 2011 | Permalink
  5. We just released Gravity Forms v1.6.2 earlier today so i'm not sure of a time frame for the next release. It really depends on a variety of factors.

    If this issue is causing major issues for you, what we can do is patch this issue at the beginning of next week and supply you with the updated development build that would include this fix once it's implemented.

    Let me know if this is what you want to do.

    Posted 12 years ago on Saturday December 3, 2011 | Permalink
  6. I have removed the extra "input_" from the ID attribute. If you need that fix before our next public release, please email me to alex@rocketgenius.com and I will send it your way.

    Posted 12 years ago on Monday December 5, 2011 | Permalink
  7. Thanks guys, Alex I am e-mailing you now.

    Posted 12 years ago on Monday December 5, 2011 | Permalink

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