To store data into an ascii text file, you will use a simplified FDML processing file which has two components. First, you will begin with a <TEXTSTORE> directive in place of the CreateDoc directive. After the TextStore command, you will simply list the names of the fields in the order you would like them stored.
The TextStore command has the following form:
<TEXTSTORE>"TextFileName" "ResponseFileName"</TEXTSTORE>
Both filenames specified can be a simple file name or a full path. The "TextFileName" is the name of the file that the data entered into the form will be stored in. The "ResponseFileName" is the name of an HTML document that will be displayed to the user after their form has been processed.
After the TextStore command, simply list the field names as they appear in the HTML entry form. The field names may be seperated by spaces, tabs, or returns.
See the "Mailing List" example included with the NetForms package for a complete example of how to use this feature of NetForms.