|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have a Web page with 3 identical forms on it. They are set up so that when someone submits the forms I get the response through e-mail. My problem is I need to know which form they filled out on the page by having a different e-mail subject line appear for each, but instead all the forms are showing the same subject line. I know this can be done but I'm not sure how. Except for the subject problem all the fields in each of the forms work fine. Here is the URL if anyone wants to take a look at my coding: www.imtc3.com/prework.html. Thanks for the help!
|
|
#2
|
|||
|
|||
|
The quick and dirty solution is to use a different "ACTION" file for each form.
|
|
#3
|
|||
|
|||
|
Pieux,
I tried your suggestion but it didn't work. Any other ideas? |
|
#4
|
|||
|
|||
|
Didn't work? Could you describe what you did? If each form goes to it's unique file to process the informationm, then each unique file has a different subject line that gets sent out with the information. Do you have any place where I can look at your code (the file that does the processing of the E-mail)?
|
|
#5
|
|||
|
|||
|
Pieux, I don't know much about creating forms so I used Front Page to create the ones I'm using and then I just changed the html to make them look how I wanted them to look. This is what I understood that you were suggesting before: Front Page generated this code to go before each form <form METHOD="POST" action="_vti_bin/shtml.dll/prework.html" webbot-action="--WEBBOT-SELF--" name="ASOCPrework">. I saved the prework.html file with 3 different names so each action would have a different file associated with it. Did I understand you correctly? As for the code that processes the e-mail, the only code I wrote is the code for the front end of the forms. From what I understand, my ISP has Front Page files already installed on their server that do all the processing. If you want to see the code that I wrote, it's at www.imtc3.com/prework.html. Thanks.
|
|
#6
|
|||
|
|||
|
OK. If you are using FP98, right click on the form. Go to Form Properties. Click on Options. Click on E-mail results tab. In the Subject Line, type what you want to receive. Click OK. Click OK. save the page and publish the page.
HTH, SCK. |
|
#7
|
|||
|
|||
|
Shortcutkid,
Thanks for the suggestion, but that's how I originally created the forms. I really need someone to look at my coding and tell me what's wrong from there. --Prowriter |
|
#8
|
|||
|
|||
|
I figured it out. Thanks everyone for your help.
|
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > Front Page Forms |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|