Add Print button to Sharepoint NewForm

We need a NewForm.aspx to be printable - preferably by adding a Print button to the form.  I dont see a Form Action for printing - any suggestions on how to accomplish this?

Thanks for your time.
LVL 4
TEEDAAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
chapmanjwConnect With a Mentor Commented:
You could edit the NewForm.aspx page (in SharePoint Designer) and add a JavaScript print button.  This button would simply execute window.print(), here are some samples of using the JS function: http://www.javascriptkit.com/howto/newtech2.shtml
0
 
TEEDAAuthor Commented:
That is perfect!  Many thanks for your time.
0
 
viswanathuppuCommented:
Hi TEEDA,

I have tried this solution window.print(); on button click in javascript. The problem is it is printing the form with content in Chrome, and in IE it is printing blank page with header and footer.

The form is designed in infopath.

Please give me your thoughts on this.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.