WordPress.org

Forums

Calculated Fields Form
[resolved] how to print form results (5 posts)

  1. jlehrer
    Member
    Posted 11 months ago #

    I've created a fairly complicated form that calculates a person's risk for blood clots. Your plugin has worked very well for this purpose.

    See it here: http://venousdisease.com/dvt-risk-assessment-online-tool-2/

    The form stretches over three pages. I want to give an option to print the final page which shows the form results and some commentary.

    Using a print-friendly plugin, I tried inserting the plugin shortcode as a description field at the end of the form, but the form didn't process the shortcode. (As a workaround, I put the printer-friendly plugin on the page containing the form, which results in the print button being visible on all three of the form's pages.)

    Is there a way to make only the last page of the form print?

    https://wordpress.org/plugins/calculated-fields-form/

  2. codepeople
    Member
    Plugin Author

    Posted 11 months ago #

    Hi,

    Pay attention to the "Print Friendly" settings. You can enter the URL to a CSS file, to be used for printing. You only should create a CSS file to hide the fields you don't want display in the printed version of page. This question is not related directly with our plugin, it is a question for the "Print Friendly" plugin.

    Best regards.

  3. jlehrer
    Member
    Posted 11 months ago #

    To clarify my question...

    My form contains two page breaks. I want the print function to appear only on the page that appears after the second page break. Specifically, I want to print the summary field.

    Can you suggest a way to do that? Is this a function of your pro versions?

    (In other words, I don't want the user to click a print button until the form has been completed.)

  4. codepeople
    Member
    Plugin Author

    Posted 11 months ago #

    Hi,

    If you want display only the summary of fields entered, you have two options:

    - Insert a CSS file in the webpage to be used only for printing. In this file you can hide all sections to be excluded from printing with the style attribute display:none

    - Install the premium version of the plugin, and insert the print buttons in the thanks page. In the thanks page it is possible insert a shortcode to display a summary of data submitted from the form.

    Best regards.

  5. jlehrer
    Member
    Posted 11 months ago #

    OK, thanks, I'll give one of these options a try.

Reply

You must log in to post.

About this Plugin

  • Calculated Fields Form
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.