Support » Plugin: Contact Form DB » [cfdb-html] template file not found

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

    (@msimpson)

    [cfdb-html] outputs HTML but you have to tell it what HTML to output. That goes in the Template section of the Short Code Builder Page.

    Thank you! I’ll dig into that more. ‘Preciate your patience with the noob question.

    u can show html form in post or page like that…
    <table class=”table table-bordered”>
    <thead>
    <tr>
    <th>#</th>
    <th>first Name</th>
    <th>Last Name</th>
    <th>Email</th>
    <th>Phone</th>
    <th>Vehicle</th>
    <th>Trip Type</th>
    <th>Pickup Location</th>
    <th>Destination</th>
    <th>Pickup Date</th>
    </tr>
    </thead>
    <tbody>
    [cfdb-html form=”booking” filter=”Submitted Login=$user_login”]
    <tr>
    <th scope=”row”>${id}</th>
    <td>${first-name}</td>
    <td>${last-name}</td>
    <td>${your-email}</td>
    <td>${phone}</td>
    <td>${vehicle}</td>
    <td>${trip-type}</td>
    <td>${pickup-location}</td>
    <td>${destination}</td>
    <td>${pickup-date}</td>

    </tr>
    [/cfdb-html]
    </tbody>
    </table>
    </body

    Plugin Author Michael Simpson

    (@msimpson)

    [cfdb-html form="booking" filter="Submitted Login=$user_login"]
    {{BEFORE}}
        <table class="table table-bordered">
            <thead>
            <tr>
                <th>#</th>
                <th>first Name</th>
                <th>Last Name</th>
                <th>Email</th>
                <th>Phone</th>
                <th>Vehicle</th>
                <th>Trip Type</th>
                <th>Pickup Location</th>
                <th>Destination</th>
                <th>Pickup Date</th>
            </tr>
            </thead>
            <tbody>
    {{/BEFORE}}
            <tr>
                <th scope="row">${id}</th>
                <td>${first-name}</td>
                <td>${last-name}</td>
                <td>${your-email}</td>
                <td>${phone}</td>
                <td>${vehicle}</td>
                <td>${trip-type}</td>
                <td>${pickup-location}</td>
                <td>${destination}</td>
                <td>${pickup-date}</td>
            </tr>
    {{AFTER}}
            </tbody>
        </table>
    </body>
    {{/AFTER}}
    [/cfdb-html]
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[cfdb-html] template file not found’ is closed to new replies.