Script to use for writing email form data into a CSV file
Author: Stichting W.
Visited 1361,
Followers 1,
Shared 0
Hi, does anybody know what script can I use for writing formdata to a CSV file? There is an option in X5 that you can write the data which is filled into the form can be stored into a file. I prefer a CSV file for easy useage for other applications.
Posted on the
x5 is able to generate csv file, after someone uses the form, you just need to checkmark that option inside Email form object, click on send tab and put a check mark on Include the collected data in CVS format, after that each time when someone submits your form, you will recieve an email which includes csv file as well.
remember to set the other fields as well, for example, Send data by email, sender email address, subject,etc
if this post is the correct answer, please mark this answer as correct answer.
------------------------------------------------------------
Good Luck
https://nuluhost.com (compatible with x5 program, 30 days money back guarantee)
http://www.wdesigners.us (new)
http://www.usx5.com (coming soon)(Sign up)
Author
Hoi Anthony,
Thank you, I was already aware of that option but I want to go one step further. This options sends me every time a seperate email with a "one rule" CSV file. I want to merge all submitted posts in one big CSV file on my hosting server.
It seems to me a little adaption somewhere in the php script which create the "attached CSV" file for the email.
Any suggestions?
Br, Jeroen
Hello Jeroen,
You can also use the option "send to a file" where all the data is not sent as email to you but sent to a custom php file where then you can choose how to store and collect the data.
Many thanks!
Author
Hi claudio,
thank you for your answer. Do you have an example of such a php file how to collect this data. I have tried already some scripts which i found on the internet but that doesn't work.
thanks, Jeroen
that will be created automaticlly. do the setting then test it as user, you will see the resault.
if this post is the correct answer, please mark this answer as correct answer.
------------------------------------------------------------
Good Luck
https://nuluhost.com (compatible with x5 program, 30 days money back guarantee)
http://www.wdesigners.us (new)
http://www.usx5.com (coming soon)(Sign up)
Author
That is not what I mean. If I select the "send to file" option it asks me to select a script file (php, asp, etc.)
I'm looking for such an example script which collects the data out of the emailform and puts it into a CSV file.
Hello Stichting W.,
You will need to create manually your own script file which then generates the csv file with the data like you want.
You can also use search engines like google to see if you can find a script which fits your needs and add it to the program.
Many thanks!