iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-13-2004, 12:08 PM
tcady's Avatar
WebProWorld Member
 
Join Date: Apr 2004
Location: Houston, TX, USA
Posts: 85
tcady RepRank 0
Default forms question

I have several forms on my site, made at different times, they all send me a repsonse via email, but some have the submitters email address as the From: and some have my dns server as the From: why is this and how do I make tham all have the emaila ddress of the submitter? I have reveiwed them and dont see any differences.
here are two:
this one
http://www.navco.org/library.html
sends me an email with From:www@server1194.dnslive.net everytime no matter who submits it,
this one
http://www.navco.org/industrial-bin-.../bhappform.htm
sends me an email with From:username@hotmail.com (for example)

Can you tell the difference in the code?? Do you know how to make a form do one or the other?
Thanks!
__________________
tiff
Industrial Vibrators
Vibratory Feeders
Reply With Quote
  #2 (permalink)  
Old 05-13-2004, 01:51 PM
lspence's Avatar
WebProWorld Pro
 
Join Date: Apr 2004
Location: Saint Louis
Posts: 121
lspence RepRank 1
Default

If you include a field on your form with a name of either 'Email' or 'email', and the person filling out your form enters something in that field that looks like it might be a valid Email address, then the forms-to-email program will set the 'Reply-To' header in the email that is sent to you to the value filled in by the user. Otherwise, yoou will get www@server1194.dnslive.net in the reply.

In the first form it's <input name="emailaddy" type="text" id="emailaddy">
In the second form it's <input name="email" type="text" id="email">

So change the first form from emailaddy to email

Also, you may want to make that a required field. If the user doesn't put an address in there, then you get www@server1194.dnslive.net.

If it's not clear, I'll try to re-explain it. Good luck!
Reply With Quote
  #3 (permalink)  
Old 05-13-2004, 05:06 PM
eightfifteen's Avatar
WebProWorld Veteran
 
Join Date: Jan 2004
Location: Des Moines, IA
Posts: 406
eightfifteen RepRank 1
Default

You beat me to the punch!
Reply With Quote
  #4 (permalink)  
Old 05-14-2004, 01:22 PM
tcady's Avatar
WebProWorld Member
 
Join Date: Apr 2004
Location: Houston, TX, USA
Posts: 85
tcady RepRank 0
Default THANKS!

perfect! very elusive and interestingly obscure detail, I have been making web sites for 8 years and never heard of that! We learn something new everyday!
__________________
tiff
Industrial Vibrators
Vibratory Feeders
Reply With Quote
  #5 (permalink)  
Old 05-14-2004, 01:54 PM
lspence's Avatar
WebProWorld Pro
 
Join Date: Apr 2004
Location: Saint Louis
Posts: 121
lspence RepRank 1
Default

Glad to be of help. :)
Reply With Quote
  #6 (permalink)  
Old 05-16-2004, 11:44 AM
WebProWorld Member
 
Join Date: Jan 2004
Location: Norway
Posts: 50
tOKmaZ RepRank 0
Default

i know it is a bit OT, but how to make a field in a form required?
__________________
My Portfolio (in Norwegian)
Reply With Quote
  #7 (permalink)  
Old 05-16-2004, 09:48 PM
WebProWorld 1,000+ Club
 
Join Date: Sep 2003
Location: Texas
Posts: 1,156
flood6 RepRank 0
Default JavaScript

Quote:
Originally Posted by tokmaz
i know it is a bit OT, but how to make a field in a form required?
The most commonly used method is with JavaScript. Here are a few solutions from hotscripts:

http://www.hotscripts.com/JavaScript...rms/index.html
Reply With Quote
  #8 (permalink)  
Old 05-17-2004, 03:15 PM
eightfifteen's Avatar
WebProWorld Veteran
 
Join Date: Jan 2004
Location: Des Moines, IA
Posts: 406
eightfifteen RepRank 1
Default

Here's what I have used, and I know this works for FormMail:

<input type=hidden name="required" value="name,phone">

The "name,phone" is where you put the fields you want to be required.
Reply With Quote
  #9 (permalink)  
Old 05-18-2004, 09:20 AM
WebProWorld Member
 
Join Date: Jan 2004
Location: Norway
Posts: 50
tOKmaZ RepRank 0
Default

thank u! i'll try that...
__________________
My Portfolio (in Norwegian)
Reply With Quote
Reply

  WebProWorld > Site Design > Graphics & Design Discussion Forum

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 01:30 AM.



Search Engine Optimization by vBSEO 3.3.0