• Hi Guys

    I am trying to setup CF7 so the output is in a nice but simply html table. Should be simple enough I thought, few examples online, something like this:

    <table border=”2″ bordercolor=”#000000″ style=”background-color=”#ffffff” width=”100%” cellpadding=”2″ cellspacing=”2″>
    <tbody>
    <tr>
    <td>Name:</td>
    <td>[your-name]</td>
    </tr>
    <tr>
    <td>Email:</td>
    <td>[your-email]</td>
    </tr>
    <tr>
    <td>Phone:</td>
    <td>[phone]</td>
    </tr>
    
    <tr>
    <td>Enquiry:</td>
    <td>[your-message]</td>
    </tr>
    
    </tbody>
    </table>

    So when I add this to CF7 in mail/message body and hit save, it clears the whole form and saves blank.

    I have not come across this before. Any ideas why this is happening?

    thanks

    Nobby

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Where can we see the website? What other plugins and theme do you use on the site?

    Thread Starter nobby666

    (@nobby666)

    Hi Takayuki

    Loads of other plugins, but nothing new, as in, this problem has occurred with no new plugins, I have used this method before on the site without issue.

    You can see the site if you want, but the issue is not on the front facing site, it in the Contact form 7 panel in admin. When I save the form, it clears all the content ive just added and saves itself blank! This only occurs when I add html, if I just use the standard CF7 shortcode it saves fine.

    Really weird issue.

    Hope this makes sense.

    cheers.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘HTML in the Mail – Message body’ is closed to new replies.