CharlieLaw
03-13-2006, 03:07 PM
I have set up a form which is very large in size, the objective of the form is for the user to fill it in and then print it off to post. To make it more usable I have used some JavaScript to show and hide sections. The user fills out one section, clicks next and the section they are on is hidden and the new section appears.
Everything works great with this technique until it comes to printing at the end. I have a print button which when clicked shows all fields and prints fine, my probelm is what happens if the user does file/print in the browser window. Currently only the section they are on (the last page) will be shown. Is there any way to display all sections when the user selects the browser option to print or print preview.
It has been suggested to me to use onbeforeprint event , however I need a cross browser solution.
Thanks Charlie.
Everything works great with this technique until it comes to printing at the end. I have a print button which when clicked shows all fields and prints fine, my probelm is what happens if the user does file/print in the browser window. Currently only the section they are on (the last page) will be shown. Is there any way to display all sections when the user selects the browser option to print or print preview.
It has been suggested to me to use onbeforeprint event , however I need a cross browser solution.
Thanks Charlie.