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.

Hidden Field not working

  1. sbruner
    Member

    Whenever I click "Hidden Field" in the GForms admin, I don't see any field. Is the "Hidden Field" in the GForms admin... hidden? :)

    Thanks

    Posted 11 years ago on Tuesday December 14, 2010 | Permalink
  2. @sbruner No, they shouldn't be hidden. Something is going on with your site if they are hidden. If you send us a WordPress admin login for the site having the issue and tell us which form we can take a look. You can send us this information via our Contact Us form and reference this forum post.

    Posted 11 years ago on Tuesday December 14, 2010 | Permalink
  3. It appears that the following CSS rule is conflicting.

    Line 158 of /gravityforms/css/forms.css:

    .gform_wrapper input[type="hidden"], .gform_wrapper input.gform_hidden, .gform_hidden { display: none; }

    Posted 11 years ago on Wednesday December 15, 2010 | Permalink
  4. @scOttkclark The forms.css file should NOT be getting output in the admin. It's only designed for frontend usage. If the forms.css is present in the Admin then you may be globally enqueuing the forms.css file instead of only enqueuing if it's not the Admin. By default the forms.css is not output in the form builder.

    Posted 11 years ago on Wednesday December 15, 2010 | Permalink
  5. That's probably it, I'll check around the site for any global calls.

    Posted 11 years ago on Wednesday December 15, 2010 | Permalink
  6. Yep, that was it. We had a call for it to only show up on non-admin pages but we've had a few devs on the site in the past year so there may have been confusion and someone added it globally. Thanks again, sorry for the trouble.

    Posted 11 years ago on Wednesday December 15, 2010 | Permalink
  7. @scOtt No problem, it's happened to other users before also so I knew right away what it was when you mentioned it.

    Posted 11 years ago on Wednesday December 15, 2010 | Permalink