Support » Plugins » how to get rid of cfdb table header?

  • Hi,
    I have a problem with contact form to db that I have not the slightest idea what to do about, maybe someone out there can help.

    I have a shortcode which produces a table with a few columns. The last column contains a picture, and I have found a code snippet that makes the picture show. It goes like this:

    [cfdb-datatable form="Model Registrieren" id="mytable" show="cf7-modelcounter,your-name,vorname,nachname,Bild01"]
    <script type="text/javascript" language="Javascript">
    (function($) {
        $(document).ready(function() {
            $("#mytable td[title='Bild01'] > div > a").each(function() {
                var href = $(this).attr('href');
                var label = $(this).html();
                var imgTag = '<img height="30" width="30" src="' + href + '" alt="' + label + '" >';

    Works just fine, the picture shows up.
    But there is a big, ugly search fied on top of the table which I want to get rid of. I tried the option “header=”false”, but when I apply that to the shortcode, nothing happens.

    [cfdb-datatable form="Model Registrieren" id="mytable" show="cf7-modelcounter,your-name,vorname,nachname,Bild01" header=”false"]

    Anybody any kind of idea?


    • This topic was modified 5 years, 3 months ago by evileu. Reason: I made a mistake in the explanation
Viewing 3 replies - 1 through 3 (of 3 total)
  • Did you take a look at

    Thread Starter evileu


    Thank you, that’s where I got the idea to set header=”false”.

    Only it doesn’t seem to work for me!

    Moderator bcworkz


    Check your shortcode very closely, in your original post you use a “curly” quote instead of the required “straight” quote. You show ”false" but you need "false" — the opening quote is the issue, the closing one appears to be OK.

    If that fails, perhaps you can hide the undesired portion with a CSS rule. If you can provide a live link to a page with the table and describe exactly what you want gone, someone should be able to provide the exact CSS needed if you cannot determine this yourself.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘how to get rid of cfdb table header?’ is closed to new replies.