Adding form element to output

Poppler takes care of almost everything, I simply added the form tags at the end of every page.
I think this function is not necessary if you a CSS selector