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.
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.
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.
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.
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.