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 not working propertly

  1. maksis
    Member

    Hello,

    Here is my form http://new.24print.lv/digitla-druka

    I have add .hidden { display: none; } to my custom css file and use css class .hidden for fields which I want to hide.

    I have many hidden fields in this form with css class .hidden but the field "units" is still showing up, I don't understand why it is showing even with the .hidden class, but other fields don't show up.

    What could be the reson?

    Thank you in advance!

    Posted 11 years ago on Sunday January 6, 2013 | Permalink
  2. Because that field is a calculation and is displayed and changed dynamically, you may need to add the !important rule to ensure it stays hidden after it is rendered. Try changing the rule in your custom.css to this:

    [css]
    body .gform_wrapper .hidden {
        display: none!important;
    }
    Posted 11 years ago on Monday January 7, 2013 | Permalink
  3. maksis
    Member

    Thank you works great!

    Posted 11 years ago on Monday January 7, 2013 | Permalink
  4. You're welcome.

    Posted 11 years ago on Monday January 7, 2013 | Permalink

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