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.

Hiding Field labels on print.css such as "Name" "0 of 40 max characters"

  1. Minnie
    Member

    Hello,

    Just trying to condense the printout version of a form and have a couple of questions on hiding elements.

    The word "label" refers to a few different elements, so the ones I'm talking about are the standard advance field such as: "First" "Last" in dealing with a name field and "Street" "Address1" "Address2" "City" "ST" "Zip" in the address form.

    Also, the descriptor label "0 of 40 max characters".

    And the spacing between fields in the address field.

    And finally, I've not been able to see where to hide the box border around the dropdowns.

    Thanks a bunch, as always.

    Posted 12 years ago on Friday March 30, 2012 | Permalink
  2. Can you post a link to your form?

    Posted 12 years ago on Saturday March 31, 2012 | Permalink
  3. Minnie
    Member

    Not publicly as it's in staging and not yet for release. Can you use my private email for sending to you?

    Posted 12 years ago on Sunday April 1, 2012 | Permalink
  4. Sure, go ahead and send it to me to rob@rocketgenius.com

    Posted 12 years ago on Sunday April 1, 2012 | Permalink
  5. This would be how you can target the sub-labels:

    [css]
    .gform_wrapper .ginput_complex label, .gform_wrapper .gfield_time_hour label, .gform_wrapper .gfield_time_minute label, .gform_wrapper .gfield_date_month label, .gform_wrapper .gfield_date_day label, .gform_wrapper .gfield_date_year label, .gform_wrapper .instruction {}

    For the drop downs, you are using regular drop downs and enhanced ones so they will not be the same selector:

    [css]
    .gform_wrapper .chzn-container-single .chzn-single {}
    .gform_wrapper select {}

    For the spacing in the address fields try:

    [css]
    .gform_wrapper .ginput_complex .ginput_full input {}
    Posted 12 years ago on Tuesday April 3, 2012 | Permalink
  6. Minnie
    Member

    Rob, What about adding the middle name field as a choice in the name advanced field? Can we get that in the dev hopper? Thanks.

    Posted 12 years ago on Tuesday April 3, 2012 | Permalink
  7. It's been discussed and we do want to enhance the name field to add additional formats, so there are plans, but not in the immediate future. It will be later this year.

    Posted 12 years ago on Wednesday April 4, 2012 | Permalink
  8. Minnie
    Member

    Rob, Everything is working great, except for hiding the 0 to 40 max characters label. I'm still not seeing where that exists in css (to hide it in print). Thanks.

    Posted 12 years ago on Monday April 23, 2012 | Permalink
  9. Try this out in your print css:

    [css]
    .charleft.ginput_counter {
    display: none;
    }
    Posted 12 years ago on Monday April 23, 2012 | Permalink
  10. Minnie
    Member

    Thanks. It's clean and the submit button is fully deployed as a validator of information, without information ever being submitted, with all the irrelevant information hidden when printing out this for fax only form. Great help.

    Posted 12 years ago on Tuesday April 24, 2012 | Permalink
  11. Right on! Glad to help out.

    Posted 12 years ago on Tuesday April 24, 2012 | Permalink

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