dynagirl
05-06-2003, 05:30 PM
When my form is submitted, the data is grabbed by an asp script, reformatted and sent in an email. The user is then redirected to a Thank You page.
Now, however, I need to add an order number into the process. A random number is fine and I've already got that part covered. My problem is in getting the number into the flow of data. Whether I use javascript or asp to generate the number, I can not figure out how to incorporate that number into BOTH the email that gets sent (with the form data on it) and into the "Thank You" page.
I've tried generating the random number within the asp script itself, but can't figure out how to make the latter part of the script incorporate it into the email it sends when it compiles all the data from my form. And I also can not figure out how to have my "Thank You" page get ahold of that same number.
I'm sort of new to asp, so any help at all would be greatly appreciated!
Now, however, I need to add an order number into the process. A random number is fine and I've already got that part covered. My problem is in getting the number into the flow of data. Whether I use javascript or asp to generate the number, I can not figure out how to incorporate that number into BOTH the email that gets sent (with the form data on it) and into the "Thank You" page.
I've tried generating the random number within the asp script itself, but can't figure out how to make the latter part of the script incorporate it into the email it sends when it compiles all the data from my form. And I also can not figure out how to have my "Thank You" page get ahold of that same number.
I'm sort of new to asp, so any help at all would be greatly appreciated!