Form submission to PDF format