I'm creating a form that will not be submitted but it will be printed. The 'print form' button's 'onClick event' calls the print function, but I need to add a validation function before the print option comes up. Any ideas?
Thanks,
Sally
I just did this, but I used a short JavaScript function:
<SCRIPT LANGUAGE="JavaScript">
<!--
function printPage() {
if (window.print)
window.print()
}
//-->
</script>
- Then add your print button with an 'onclick' event to "PrintPage()".
HTH...
sally
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.