|
This form
is identical to Sample Form #1 except that it also stores the result
in a local database named "form2results.txt" under a folder
named database using the "db_append"
hidden field option. This form also introduces the "redirect_success"
hidden field which sends the user to a custom response page after
a successful form submission instead of relying upon the default response
page generated by the FormMailGMT.cgi script.
note:
The pathname used in "append_db" is relative to the directory
that is one level above your home web folder, therefore you must specify
the name of your home web folder first followed by the path to the
database file. Remember, this database must already exist, FormMailGMT.cgi
will not create it for you!
Hidden Fields:
<input type="hidden" name="io_required" value="mailto_recipient,mailto_realname,mailto_froml">
<input type="hidden" name="io_aliases" value="mailto_realname:name,mailto_from:email">
<input type="hidden" name="db_append" value="fmgmt/database/form2results.txt">
<input type="hidden" name="redirect_success" value="http://www.wave-star.com/fmgmt/form2-thank-you-page.html">
<input type="hidden" name="db_fields" value="mailto_realname,comment,mailto_froml">
|