• Hello,

    So i am having some troublb printing out your admin view of a single form. my client wants it to be nice and neat and not show blank table cells. So i have been trying for some time now to style the admin view of a single form bt nothing will make it print right i have tried print styles and all sort of things like breaking up the table using jQuery but nothing seems to work. So I have a couple of questions
    1)is the pay version better then this free one?is there a way to print a single form.
    2)Is there a way to query a single form from the database and show it on its own page so that i could style that page to print nice and neat.

    I have been trying to figure this out for a while and i got the print button to show up in the admin single form view but like i said cant get it to print the way i want it to style. Do you have any ideas on how i could go about this in a better way?
    final question, is there a way in the html shortcode to display just one form at a time or a specific form submission some how?

    thanks
    Brian

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

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

    (@msimpson)

    There was never anything coded to specifically support printing.

    On a private page you could create a similar master-detail view.

    1. Use [cfdb-table] to display form entries.
    2. Show the “submit_time” field in the short code
    3. Use JQuery to make a clickable link on each row where submit_time be. Have it link to some other page with &submit_time=the submit time value similar to https://cfdbplugin.com/?p=867
    4. On the landing page for the link, add a [cfdb-html] short code with filter=”$_GET(submit_time)” so that it shows only one entry https://cfdbplugin.com/?page_id=116
    5. Style as you like

    I think that addresses both your questions.

    Thread Starter Wildcard

    (@thenewguy_14)

    ok i am so close here is a link to the landing page

    https://tangentwest.com/test-db/

    Now all i need to do is have the submit_time show up individually on the new page that the view application link is linked to but I have tried so many ways its would take me a minute to list them. Do you have any idea what i am doing wrong by looking at the link and here is my java

    {{AFTER}}
    <script type=”text/javascript”>
    (function ($) {
    $(‘.submitted’).each(
    function () {
    $(this).prepend(‘‘ + ‘View Application‘);
    })
    })(jQuery);
    </script>

    {{/AFTER}}

    I just cant get it to display the fields for the individual submit_times

    any help would be great

    thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Querying database and posting a single form submission’ is closed to new replies.