• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 378
  • Last Modified:

Export pdf dynamic form to CSV

I'm looking for JavaScript that will allow me to export my user control values on a PDF form to a CSV file.

The attached code populates my text boxes, statically for now, but i'm looking now to output.  I'm using a program called PDFill that has it's own built in JavaScript editor and I'm setting up my livecycle environment at the moment as well.
this.getField("Dynamicaccountnum").value = 142456;
this.getField("dealeraccountnum").value = 'd125525';
this.getField("dealercode").value = 'dealer922';
this.getField("representativecode").value = 15165;
this.getField("dealername").value = 'Joe Blow';
this.getField("Representativename").value = 'Jack Jones';

Open in new window

0
Lucas
Asked:
Lucas
  • 2
1 Solution
 
Hugh McCurdyCommented:
I don't know if this is possible with Javascript or not.  PHP is able to make CSV files.

http://php.net/manual/en/function.fputcsv.php
http://www.w3schools.com/php/func_filesystem_fputcsv.asp
0
 
LucasAuthor Commented:
doesn't really tell me anything that i didn't know already
0
 
Hugh McCurdyCommented:
You could try posting the question again with the title "Can I write a CSV file using Javascript?"
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now