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.

Remove Instruction from Form Field

  1. semyou
    Member

    Hi,
    What is the cleanest way to remove instruction (Min Max Range) from the form field display. While maintaining the validation for min max in place.
    Happens here:
    $instruction = "<div class='instruction $validation_class'>" . $message . "</div>";
    I am tempted to // and end the story.
    Thanks

    Posted 10 years ago on Saturday May 11, 2013 | Permalink
  2. semyou
    Member

    Hi,

    Can I please get an answer?

    Thanks,

    Posted 10 years ago on Saturday June 1, 2013 | Permalink
  3. Richard Vav
    Administrator

    Hi,

    I am sorry you have not received a response to your question sooner, it appears your topic may have been missed by the developers and support staff due to the increased number of topics created following the release of Gravity Forms 1.7

    I would strongly advise against modifying the plugins files as any changes you make will be lost during updates. The easiest way to remove the min max instruction would be to target and hide it with CSS by adding the following to your theme's stylesheet

    .gform_wrapper .instruction {
    display: none !important;
    }

    The above will hide all instances of the instruction div found on the page so if you only want to hide one specific instruction you could modify the selector and use the field id instead like so

    #field_15_1 .instruction {
    display: none !important;
    }

    or you could add a custom CSS class name to the field's advanced tab.

    Regards,
    Richard
    --
    Just another member of the community helping out where I can

    Posted 10 years ago on Sunday June 2, 2013 | Permalink
  4. semyou
    Member

    Thanks a lot Richard! Apparently Gravity staff don't even answer posts and not one. Many!

    Posted 10 years ago on Thursday June 27, 2013 | Permalink
  5. Richard Vav
    Administrator

    You're welcome and again I am sorry the support team have missed your posts. While forums can be great places they do have a downside which is that as more and more new posts come in it is easy to lose track of them. I can tell you that they are taking steps to ensure this doesn't happen in the future by switching to a ticket based system.

    Posted 10 years ago on Thursday June 27, 2013 | Permalink
  6. David Peralty

    Yes, missing threads is definitely something we are looking to resolve by changing to a ticket based system, away from a forum one so there is more accountability, and people won't be lost in the waves of questions being submitted. Forums make tracking down unanswered questions, really difficult. I'm glad Richard was able to answer your question.

    Posted 10 years ago on Thursday June 27, 2013 | Permalink

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