WordPress.org

Ready to get started?Download WordPress

Forums

Ninja Forms
[resolved] Can I remove "Items marked with * are required"? (4 posts)

  1. brandshepherd
    Member
    Posted 1 year ago #

    First: REALLY enjoy this form. I learned about it from a contact on Google+, and installed it on our website after a slew of spammers were hitting us. I'm suggesting it to all our clients, too.

    Question:
    Can I remove the "Items marked with * are required" at the top of the form? If so, how?

    Thanks!

    http://wordpress.org/extend/plugins/ninja-forms/

  2. James Laws
    The WP Ninjas
    Plugin Author

    Posted 1 year ago #

    Hey, Glad you like the plugin and when 2.0 comes out it's going to be even better. We're aiming for an end of this month release.

    That being said, In the current version doesn't have an option to remove it however you can easily hide it with CSS. Just adding this to your stylesheet.

    .req-item-desc {
    display: none;
    }
  3. brandshepherd
    Member
    Posted 1 year ago #

    I'll keep my eye on that update - sounds like some special stuff is being done.

    Just placed your CSS, and it worked beautifully. Thanks for the swift response!

  4. chiappa
    Member
    Posted 1 year ago #

    wp-content/plugins/ninja-forms/includes/display_functions.php

    row: 252

    echo "<div id='ninja_form'><p class='req-item-desc'>";
                            printf(__('Items marked with %s are required', 'ninja-forms'), "<span class='required-item'>*</span>");
                            echo "</p>";

    change to:

    `
    echo "<div id='ninja_form'>"; // <p class='req-item-desc'>
    // printf(__('Items marked with %s are required', 'ninja-forms'), "<span class='required-item'>*</span>");
    // echo "</p>";
    `

    just an example... :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.