Confirmation Page #2

  • Thread starter Thread starter Dennis Allen
  • Start date Start date
D

Dennis Allen

Hi. Question. Is it possible to add a [print] button to the
confirmation page? If so, how?

On an line form, I wish we could send the customer a copy of the email
we receive. But we can let them print the confirmation page, that'll be
better than nothing...Dennis
 
The browser's Print button works well. If you must, place the following
script in the head of your page:

<script type="text/javascript">
function print_page(where){
var is_mac=(navigator.platform.indexOf("ac") != -1);
(document.all && is_mac)?
alert("Select \"Print\" from the menu") : where? where.window.print() :
window.print();
}
</script>

Create a button or even text and hyper link it to:

"javascript:print_page()" (without the quotes)


This may not work with all browsers!
 
PS
- and no the std FP forms handler can not send the email or a copy of it to the sender

--




| The browser's Print button works well. If you must, place the following
| script in the head of your page:
|
| <script type="text/javascript">
| function print_page(where){
| var is_mac=(navigator.platform.indexOf("ac") != -1);
| (document.all && is_mac)?
| alert("Select \"Print\" from the menu") : where? where.window.print() :
| window.print();
| }
| </script>
|
| Create a button or even text and hyper link it to:
|
| "javascript:print_page()" (without the quotes)
|
|
| This may not work with all browsers!
|
|
|
| | > Hi. Question. Is it possible to add a [print] button to the confirmation
| > page? If so, how?
| >
| > On an line form, I wish we could send the customer a copy of the email we
| > receive. But we can let them print the confirmation page, that'll be
| > better than nothing...Dennis
| >
|
|
 
Thanks...Dennis

sheetrum said:
The browser's Print button works well. If you must, place the
following script in the head of your page:

<script type="text/javascript">
function print_page(where){
var is_mac=(navigator.platform.indexOf("ac") != -1);
(document.all && is_mac)?
alert("Select \"Print\" from the menu") : where? where.window.print()
:
window.print();
}
</script>

Create a button or even text and hyper link it to:

"javascript:print_page()" (without the quotes)


This may not work with all browsers!



Dennis Allen said:
Hi. Question. Is it possible to add a [print] button to the
confirmation page? If so, how?

On an line form, I wish we could send the customer a copy of the
email we receive. But we can let them print the confirmation page,
that'll be better than nothing...Dennis
 
Back
Top