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.

BUG - Field disapear from admin panel

  1. This is the form I'm developing and the field 23 disappear from the admin form panel. It still works but I can't mange it anymore.

    http://pastie.org/1278351

    Posted 13 years ago on Saturday November 6, 2010 | Permalink
  2. Marcelo,
    The problem is that field 23 has a custom class called "hidden". This class name is defined by WordPress in the admin and will hide your field. If you want to hide your field from users, the best way to do it is to set the "Visibility" setting to "Admin Only" (advanced tab).
    But before you can change the setting to your field, you will need to remove that "hidden" class from it. You can do that in two ways.
    1- Export your form, change the XML file removing that custom class and import it back. The problem with this approach is that your new form will not be mapped to your current entries. It will start as a brand new form with no entries. If that is a problem, try the next option.
    2- Using Firefox and Firebug, inspect the field that is hidden and change the hidden class in Firebug. It will then appear in the admin and you can make your changes from there.
    If you can't figure this out, send me and admin login to your WordPress admin (alex@rocketgenius.com) and I will do it for you.

    Posted 13 years ago on Sunday November 7, 2010 | Permalink
  3. Thanks Alex, I didn't notice that. But I thinks it still a bug, because why does it need to use the class name inside the admin panel?

    And I didn't use it like an Amin Only because it does not accept dynamic content like the option Everyone does, so I needed to hide it from user interface.

    Posted 13 years ago on Monday November 8, 2010 | Permalink
  4. I wouldn't say it is a bug, but I do get your point. These classes may not be needed in the admin side. I will run this by our team and get them removed if they are not needed. Admin only fields should accept dynamic content like any other field. Are you having problems with that? Another option is to use the gform_hidden class, which is applied only in the front end and hides the field.

    Posted 13 years ago on Monday November 8, 2010 | Permalink