I am doing some testing on SharePoint lists/forms and am stuck a bit on a print function/button that I want to implement in one of my forms.
Out of a list that I created with LOTS of columns, I formed a new display form (DispForm.aspx
) and use this as a means for users to view their form after registration.
After searching over the internet I came across lots of articles and blog posts concerning this but could not use the existing workarounds in my case.
I need to print the display form but when using the
<a "href="javascript:window.print()">Print</a>"
script, it does print the form, but with the buttons also, which should not be the case.
Is there a way, if that's not too much asking, to print only the columns/fields/rows in the form?