WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Want to remove<br />tag using textarea (4 posts)

  1. mlanapa
    Member
    Posted 2 years ago #

    Using contact form 7, textarea code for multi-line default value,

    I entered the code as below :

    <p>Details
    [textarea your-message 103x60]
    1. Service :
    2. Topic :
    3. Date :
    [/textarea] </p>

    I expected as response :

    1. Service :
    2. Topic :
    3. Date :
    inside the text box.

    But the actual response was :

    1. Service :<br />
    2. Topic :<br />
    3. Date :
    inside the text box.

    I want to remove suddenly appeared<br />tag.

    Thanks.

    http://wordpress.org/extend/plugins/contact-form-7/

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 2 years ago #

    It should work as you expect, there shouldn't be <br />s inserted. Use the latest version of Contact Form 7 (v2.4.6). If you still see the problem, try deactivating all other plugins and switching to the default theme to rule out conflict issues.

  3. mlanapa
    Member
    Posted 2 years ago #

    Thank you for your reply, perhaps conflict with current theme.

    If it is conflict with theme, any solution?
    Editing php file,, something like that.

  4. baljindersingh88
    Member
    Posted 1 year ago #

    To disable
    tags, set define(‘WPCF7_AUTOP’, false); in wp-contact-form-7.php.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic