[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1641
  • Last Modified:

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.
0
TEEDA
Asked:
TEEDA
1 Solution
 
chapmanjwCommented:
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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now