• Resolved khuongdaowp

    (@khuongdaowp)


    Hi,I need your help!
    I installed CP block for my WP. I want to print all the information in the form using the Print button. I tried many ways, but still failed.You can guide me in pictures, because I’m not good at foreign languages.
    Thank you!

    The page I need help with: [log in to see the link]

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

    (@codepeople)

    Hello @khuongdaowp

    Javascript is a case sensitive language, and the function for printing the form is called printForm and not PrintForm. Furthermore, this function requires a parameter, the form to print.

    Please, edit the onclick event of button as follows:

    
    printForm(this.form);
    

    and that’s all.
    Best regards.

    Thread Starter khuongdaowp

    (@khuongdaowp)

    You can guide me through the image!

    Plugin Author codepeople

    (@codepeople)

    Hello,

    The process is very straightforward. I cannot send you the specific images to your form because depends on your form’s settings, but I’ve created a video tutorial describing the process. Please, visit the following link:

    [video src="https://wordpress.dwbooster.com/customdownloads/2019/08/02/video.mp4" /]

    Best regards.

    Thread Starter khuongdaowp

    (@khuongdaowp)

    so sorry!
    The URL doesn’t take me to the video.
    hope you help!

    Plugin Author codepeople

    (@codepeople)

    Hello @khuongdaowp

    Yous simply should to extract the URL from the previous ticket, the video is there. I’m repeating the link here:

    CLICK HERE

    Best regards.

    Thread Starter khuongdaowp

    (@khuongdaowp)

    Glad it worked!
    But all content in the Form is not displayed on the printed page.
    I sent the picture via your mail.

    Plugin Author codepeople

    (@codepeople)

    Hello @khuongdaowp

    I’ve checked your web page again:

    https://xaydungtda.com/bao-gia/bao-gia-thi-cong/

    and the form in there is not including the printForm block and the button is calling the wrong routine.

    Some of the issues are being caused by the plugin you are using to optimize your website. Please, go to the settings of this plugin, and disable the options to minify the HTML Code of the website (and don’t forget to clear the website’s cache after edit the settings of the optimization plugin)

    Best regards.

    Thread Starter khuongdaowp

    (@khuongdaowp)

    Thank you very much for the help!

    I will review my form

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Support creating print button’ is closed to new replies.