• Hi there,

    I have my form showing correctly on the front-end now. Unfortunately it’s spilling off the page. But I’ve found a plugin – FooTables that I can use to make my table sortable, and responsive. The problem I’m having is that the table that this plugin is spitting out, doesnt have any thead tags, so the FooTable plugin isn’t working.

    Are you able to please advise how I might go about wrapping the top row of cells in a thead tag, so that the table is semantically correct, and so that the plugin works alongside it.

    Cheers!

    https://www.ads-software.com/plugins/contact-form-7-to-database-extension/

Viewing 1 replies (of 1 total)
  • Plugin Author Michael Simpson

    (@msimpson)

    [cfdb-table] does in fact create THEAD tags in the table it generates.

    It always creates tables with structure like this:

    <table>
        <thead>
        <tr>
            <th>
                <div>value</div>
            </th>
            <th>
                <div>value</div>
            </th>
        </tr>
        </thead>
        <tbody>
        <tr>
            <td>
                <div>value</div>
            </td>
            <td>
                <div>value</div>
            </td>
        </tr>
        </tbody>
    </table>

Viewing 1 replies (of 1 total)
  • The topic ‘Use table with FooTables – no thead tag…’ is closed to new replies.