Adding form element to output

Poppler takes care of almost everything, I simply added the form tags at the end of every page.
No they are needed for the checkboxes / radio buttons to display correctly, which is what this branch is about. These lines of code are not specifically for my project.