This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 3
Save to .xls
Started 12 years ago by jaa | 5 posts |
-
Is there any chance to save automatically forms to .xls?
Thanks
Posted 12 years ago # -
Saving the forms to Excel ? Or saving the data submitted? - Yes you can do that. From the Entries Manager, there are the options to export to Excel, and CSV format and a couple of others but it's not an automated process.
I suppose to do so automatically would require a CRON job (advanced stuff, too much to explain in this forum, and I'm not sure how to set CRON jobs up - ask your host about such matters) which could be scheduled to export the data to an excel file and email to you, but that's outside the functionality of Machform.
Posted 12 years ago # -
Forgetting the external mechanisms eg CRON etc. Does anyone know what would need to be done on the Machform server to export to XLS i.e. to automatically replicate a user logging in and selecting the export option?
At the moment I run a SQL query to do it but that's a bit messy. Happy to help if anyone wants to do it that way!
Thanks
CeemjayPosted 11 years ago # -
After some investigation the easiest way is to create a new php program based on export_entries.php. It's quite easy to comment out the security checks - but take all necessary precautions to keep things secure.
The complication doing it with cURL/Wget is coping with the security - they were a step too far for me!
Happy to help if anyone needs it
ceemjay
Posted 11 years ago # -
Forgot to add to previous post that you will still need to use cURL or wget to execute the php script to copy the file from the machform server.
ceemjay
Posted 11 years ago #
Reply
You must log in to post.
