Hi there,
I've set up a form that I would like to store the data in a text file. I realize this is one of the options under 'delivery methods' when creating the form, but don't know what to enter in the parameters when I check that option. I have experimented with entering a file name, and have uploaded and tested the resulting forms. However, I'm not sure where the data is ending up. My form has the following subfolders: calendar, files and imgs. Files contains a blank text file called Sample.txt I've reviewed the forums here and there is some reference to a data subfolder containing a text file, but I'm unable to locate any text files in my installation other than sample.txt.
Thanks for your help. I really did search extensively for this info, but no dice. I assumed since parameter detail wasn't provided, it wouldn't be critical, but it seems to be or perhaps there is some other reason why the file isn't being created, perhaps file permissions?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Change this line in your processor.php file
$filename = 'reachingfamilies';
to something like
$filename = 'reachingfamilies.txt';
Is there a file in the same folder as the form.html file named "reachingfamilies" with no extension? Add the file extention to this file (same as what you put in the processor.php file).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you, that did the trick. Too bad the resulting file isn't csv but it will work. Now that I know how and where it's generated perhaps I can fiddle with it.
Thanks again.
Sophia
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there,
I've set up a form that I would like to store the data in a text file. I realize this is one of the options under 'delivery methods' when creating the form, but don't know what to enter in the parameters when I check that option. I have experimented with entering a file name, and have uploaded and tested the resulting forms. However, I'm not sure where the data is ending up. My form has the following subfolders: calendar, files and imgs. Files contains a blank text file called Sample.txt I've reviewed the forums here and there is some reference to a data subfolder containing a text file, but I'm unable to locate any text files in my installation other than sample.txt.
What I need to know is what parameters I need to enter to set up the form correctly to save data to a flat file on the server (here's a link to the form setup http://phpformgen.sourceforge.net/new_demo/phpformgen/page_home.php?form_id=202975) OR failing that more detail on how to structure a sql database table (I understand the login settings part but how do I determine what the field names, sizes and formats need to be.) Here's the resulting form online: http://www.bcss.org/rfevaluation/tmp/persistent/form202975/form.html As far as I can tell, currently the form data is going nowhere.
Thanks for your help. I really did search extensively for this info, but no dice. I assumed since parameter detail wasn't provided, it wouldn't be critical, but it seems to be or perhaps there is some other reason why the file isn't being created, perhaps file permissions?
Change this line in your processor.php file
$filename = 'reachingfamilies';
to something like
$filename = 'reachingfamilies.txt';
Is there a file in the same folder as the form.html file named "reachingfamilies" with no extension? Add the file extention to this file (same as what you put in the processor.php file).
Thank you, that did the trick. Too bad the resulting file isn't csv but it will work. Now that I know how and where it's generated perhaps I can fiddle with it.
Thanks again.
Sophia