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.
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.