Click to See Complete Forum and Search --> : Email and Redirect from a Web Form?


sadronmeldir
05-12-2008, 10:35 AM
I'm creating a web form for an online store which is supposed to send the data to a predetermined cgi for processing. The problem is that I also want to send form information in an email to the store owner before running the cgi.

The online payment cgi requires that the form fields be in the format of "1-firstname", "1-lastname", "2-firstname" and so on, which makes using Javascript for the email troublesome since the script reads the field names as a number minus a string.

Does anyone have a suggestion as to how I could go about sending an email with form data before running the cgi script without running into Javascipt issues mentioned above? I'd really appreciate it.

KDLA
05-12-2008, 01:58 PM
Does the email have to go before, or could it be sent at the time the CGI is initiated?

sadronmeldir
05-12-2008, 02:11 PM
It can be sent at the same time, or even after really.