This topic is: not resolved
- This topic has 4 replies, 3 voices, and was last updated 3 years, 4 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Home › Forums › Quform WordPress › Print Button
Is there any chance that there will be a PRINT Button after submitting a form? I already asked and you said it well be implemented soon. Any idea when its coming?
thanks in advance,
chris
You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
Hello, In two years have a solution? I have the same question.
Thank you
You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
I had already work on something about it.
1) Create a html button.
<button class=”btn-default” type=”button” onclick=”printDiv(‘areaImprimir’);”>Imprimir</button>
2) Create a function in JS
function printDiv(nombreDiv) {
var contenido= document.getElementById(nombreDiv).innerHTML;
var contenidoOriginal= document.body.innerHTML;
document.body.innerHTML = contenido;
window.print();
document.body.innerHTML = contenidoOriginal;
}
It must be customize to specific need but the main idea is that.
Regards,