Forms To Text Files:
Description:
This utility enables you to save information filled out on forms to a text file rather than saving it in a database. This utility works great if you don't have a need for a database but you need to save some information on your users. The text file created is a {TAB} seperated list of all the fields in your form in the order they appear on the form.
NOTE: The text file created is not searchable, meaning queries cannot be performed on it. If you'd like to have searchable information, you need to setup a database. For more information on this, please contact us at info@other-world.com.
The Required Code:
Place these lines of code on the 'ACTION' page of your form.
<cfset text_filename="name of text file">
<cfinclude template="/common/form_to_file.cfm">
NOTE: When specifying the name of the file, please try not to use spaces in the filename. It's also best to name the file as type .txt. This allows you to view the contents of the file right from your browser.
Close