Click to See Complete Forum and Search --> : Help with mail processing form


ronitfilms
01-13-2005, 03:18 PM
I am using the FormMail.cgi program (scriptarchive.com) and wish to print out the email variable so that it appears on the next page. I only have access to HMTL pages (no PHP, ASP, etc.) Does any one have any suggestions? Do I need additional code?

My code:
<form action="http://www.yourdomain.com/cgi-bin/FormMail.cgi" method="post">
<input type=hidden name="recipient" value="myemail@myemailaddress.com">
<input type=text name="email">
<input type=hidden name="redirect" value=confirmationpage.com">
<input type=hidden name="print_config" value="email">
<input type="submit" value="Request Info">
</form>

Does the print_config variable collect the email? If so, how can I print this out on the next page?

buntine
01-13-2005, 06:24 PM
I will move this to the CGI forum for you.

ian73
01-25-2005, 01:46 AM
The email is stored in the Config hash. You access it by using $Config{'email'} in your code.

To add the email in the response page you will have to amend the return_html subroutine.