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.

'State' CSS Class not outputting correctly

  1. My select input for 'State' is not formatting the CSS class correctly...

    It is... input_2_15.4 rather than input_2_15_4. So, I can't style it. How can I change this? I've tried adding my own CSS in the form admin, but this doesn't work.

    Posted 12 years ago on Tuesday June 28, 2011 | Permalink
  2. This was updated in the last release. Grab the latest version and see if you still have problems targeting the field.

    Posted 12 years ago on Tuesday June 28, 2011 | Permalink
  3. I can't, it's a protected intranet that uses Google Apps for authentication. I'll have to create a google apps account.

    Basically, for the address blog all items have a name and an id. The name is formatted as such, "input_2_15.4, input_2_15.5, etc." The id's match the name, but the "." is an undercore so I can style the element in my stylesheet.

    For the address block, the 'State' select input is outputting the id the same as the name "input_2_15.4." I can't style an element with a "." I need to change the "." to a "_".

    I've tried adding a custom class in the form editor, i've tried just entering a name "fb_address" but this is not added to the source of the page for some reason.

    Ideas?

    Posted 12 years ago on Tuesday June 28, 2011 | Permalink
  4. I have the latest release installed. I just bought Gravity Forms yesterday. This issue is occurring on all 'state' select fields with the current release. No issues with other fields from my testing.

    Posted 12 years ago on Tuesday June 28, 2011 | Permalink
  5. I've recreated this issue on our end and verified that it is a bug in the 1.5.2.8 release impacting only the State field on the Address field. We'll get it fixed in the next release. If you need this resolve immediately let me know and we can send you a pre-release once it's fixed on our end.

    Posted 12 years ago on Tuesday June 28, 2011 | Permalink
  6. Nope, no biggie. You can stile style the 'state' field using the parent element, just thought you would want to know.

    Posted 12 years ago on Tuesday June 28, 2011 | Permalink
  7. Thanks for the heads up! We have noted it and it will be corrected in the next release.

    Posted 12 years ago on Tuesday June 28, 2011 | Permalink

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