HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 28th, 2000, 04:29 PM
prowriter prowriter is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Posts: 8 prowriter User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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!

Reply With Quote
  #2  
Old August 29th, 2000, 10:06 AM
pieux pieux is offline
Seņor Member
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Aug 2000
Posts: 1,156 pieux User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 17 m 59 sec
Reputation Power: 10
The quick and dirty solution is to use a different "ACTION" file for each form.

Reply With Quote
  #3  
Old August 29th, 2000, 10:13 AM
prowriter prowriter is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Posts: 8 prowriter User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Pieux,

I tried your suggestion but it didn't work. Any other ideas?

Reply With Quote
  #4  
Old August 29th, 2000, 12:04 PM
pieux pieux is offline
Seņor Member
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Aug 2000
Posts: 1,156 pieux User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 17 m 59 sec
Reputation Power: 10
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)?

Reply With Quote
  #5  
Old August 29th, 2000, 01:05 PM
prowriter prowriter is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Posts: 8 prowriter User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #6  
Old September 5th, 2000, 02:49 PM
shortcutkid shortcutkid is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Posts: 2 shortcutkid User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #7  
Old September 5th, 2000, 02:57 PM
prowriter prowriter is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Posts: 8 prowriter User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #8  
Old September 5th, 2000, 04:34 PM
prowriter prowriter is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Posts: 8 prowriter User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I figured it out. Thanks everyone for your help.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Front Page Forms


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway