Skip to main content
tomw12849292
Known Participant
June 9, 2020
Question

Creating CSV file from Text, Checkboxes, Radiobuttons from PDF Form

  • June 9, 2020
  • 1 reply
  • 234 views

I have created a PDF Form to capture data about our customizable Product.  When we receive the completed form from our Customer I would like to capture the form contents in a CSV file which we can then write code to bring into our Order Entry System without an Operator having to re-enter the Customer choices. I tried exporting as a xls but it brings everything into the xls - very messy.

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
June 10, 2020

You can use a script to compose the contents of the CSV file yourself (since it's just a string) and then write it to a dataObject (an attachment to the PDF file) and prompt the user to save it to the local computer.

Keep in mind, though, that CSV files are not that trivial, and commas and quotes have to be escaped for them to work correctly.