Support » Plugins and Hacks » [Plugin: Contact Form 7] Auto Inserts Line Break?

Viewing 15 replies - 1 through 15 (of 24 total)
  • you can just manually remove them or not?

    No, they don’t show up in the editor, only the source code, as if they’re a part of the shortcode.

    hmm i have cf7 too, latest version, ill go check, brb

    <p>E-mail:
    info@website.com</p>

    this is how a default inserted field looks at my website.

    (ps. i didnt mean the editor, i meant the contact form 7 admin page)

    pasted wrong code: here’s the correct one:

    <p>Email *<br />
    [email* email] </p>

    Right, on the contact form 7 admin page the <br /> does not appear. Only in the source code after the form is published.

    Does the line break in your example appear in the contact form 7 admin?

    The short code for my email field looks like this [email* your-email] but the code it outputs looks like this:

    <span class="wpcf7-form-control-wrap your-email"><br />
    <input type="text" name="your-email" value="" class="wpcf7-validates-as-email wpcf7-validates-as-required" size="40" /></span>

    yes, the line break appears in the admin page of cf7. when i remove it, i have no break.

    Very strange…

    my output is

    <span class="wpcf7-form-control-wrap your-email"><input type="text" name="your-email" value="" class="wpcf7-validates-as-email wpcf7-validates-as-required" size="40" /></span>

    what version you are using? I just found out im not at the very latest version… thought i was… maybe thats the differance

    I’m using version 2.1.1

    Adding define( 'WPCF7_AUTOP', false ); to my config file didn’t solve the problem. I still have line breaks inserted before each input field.

    Can I see the page?

    Sorry for the delay. Page is here.

    See if switching to the default theme would resolve this issue.

    I have the same problem, this happened after the upgrade to the new version of Contact Form. Now breaks are auto-inserted between the word and field. I mean:

    Before (Good):

    Name:
    [name field here]

    Now (ugly!!!):

    Name:

    [name field here]

    Any solution?

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘[Plugin: Contact Form 7] Auto Inserts Line Break?’ is closed to new replies.