Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Create CSV file

rochandl
Level 1
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
radzmar
Level 10
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.