• Resolved FadingMusic

    (@fadingmusic)


    Hello, and thank you kindly for developing CFF and CP Blocks.

    I would like to use the Print Form block inside of Contact Form 7, but the instructions are somewhat vague to me.

    It says that it will insert a javascript block with the printForm routine for printing the form only without other page’s area. From here, I’m a bit confused about where I should insert the jQuery selector

    printForm(“#cp_calculatedfieldsf_pform_1”);

    Thank you kindly for your support.

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

    (@codepeople)

    Hello @fadingmusic,

    The “Contact Form 7” plugin usually assigns the class name: wpcf7-form to the forms, so, you simply should insert the “Print Form” block into your contact form, and insert a button with the following piece of code as its onclick event:

    printForm('.wpcf7-form')

    Best regards.

    Thread Starter FadingMusic

    (@fadingmusic)

    Hello,

    Thank you kindly for your fast support, your solution worked perfectly!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘About the Print Form block.’ is closed to new replies.