PDA

View Full Version : Print Form



Anonymous
05-21-2005, 02:58 PM
Hi VodaHost,

is it possible give the Form a button so you can print all the text in the form, to the local printer? if it can, would you walk me through it??

thank you!!

greets Ruud W.

Maddog
05-23-2005, 06:19 PM
use the following script in HTML box where you want the button

<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
if (window.print) {
document.write('<form>Click Here To '
+ '<input type=button name=print value="Print" '
+ 'onClick="javascript:window.print()"> This Page!</form>');
}
// End -->
</script>

Hope its helps