Frontend export of user entries

By: Steve P | Asked: 11/04/2022
ForumsCategory: Code HelpFrontend export of user entries
Steve P asked 1 year ago
I have a form that logged in users can submit multiple times. No problem there. I'd like to make it possible for them them to export to csv their own form entries. Any suggestions on how I might achieve this?
1 Answers
Best Answer
Walter JonesWalter Jones answered 1 year ago
Hi Steve, You can create a table view that is filtered by user_id and then utilize jQuery Datatables to export the view via CSV or PDF from the front end.  

https://connect.formidableforms.com/question/category/code-snippets/jquery-data-table-shortcode-snippet-for-html-table-views/
Steve P replied 1 year ago

Thanks Walter. I just needed the simple button to export to CSV, and found I could leverage FrmXMLController::csv() to achieve what I needed.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right