Expand my Community achievements bar.

Applications for the 2024-2025 Adobe Experience Manager Champion Program are open!

Create CSV file

Avatar

Level 1

Similar to the OOTB functionality with the Email Submit Button where you can specify a PDF or XML file to get attached, does anyone have a script to generate a CSV file of the form data?  The barcode option has been explored but looking for the simple click functionality to generate that CSV file. 

 

Designer is in scope, not AEM Forms Server.  

 

Thank You

 

 

1 Reply

Avatar

Level 10

As long the form will be used with Acrobat Standard or Pro and not Reader you can use JavaScript to create attachments by the creatDateObject(). Text files are supported, so you can create such file with a csv-extension and fill it with data from your form. This csv-file then can be opened then the attachment pane.