HighDots Forums  

Problem with a form

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Problem with a form in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
DLock
 
Posts: n/a

Default Problem with a form - 08-03-2004 , 03:22 PM






Hi,
I made a form for my website but when I click on the submit button I don't
receive any mail at the address I stipulated in the code of the form ???
Any help, thanks :-)
P.S. By the way, I'm a beginner...


<td width="79%"><div class="style2" style=" padding-left:0px;
padding-right:20px; padding-top:0px; padding-bottom:6px">
<div align="justify" class="Style41">
<form name="form1" method="post"
ENCTYPE="plain/text" action="mailto:contact (AT) atlantis (DOT) org">
<table width="358" border="0" cellspacing="0"
cellpadding="5">
<tr>
<td width="50" align="right"><div
align="right" class="Style68">
<div align="right">nom</div>
</div></td>
<td width="288"><input name="nom"
type="text" class="Style41" id="nom" size="30"></td>
</tr>
<tr>
<td align="right"><div align="right"><span
class="Style68">e-mail</span></div></td>
<td><input name="e-mail" type="text"
class="Style41" id="e-mail" size="30"></td>
</tr>
<tr>
<td align="right" valign="top"><div
align="right">
<p class="Style68">message</p>
</div></td>
<td><textarea name="message" cols="30"
rows="5" class="Style41" id="message"></textarea></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input type="image" name="imageField"
src="../_pics/_buttons/sendfrg.jpg" width="63" height="22" border="0"
onClick="MM_goToURL('parent','http://www.atlantis.org/home_fr.html');return
document.MM_returnValue">
</tr>
</table>
</form>


Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Problem with a form - 08-03-2004 , 04:01 PM






What happens when you submit it? What email client is configured on this
computer?

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"DLock" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hi,
I made a form for my website but when I click on the submit button I
don't
receive any mail at the address I stipulated in the code of the form ???
Any help, thanks :-)
P.S. By the way, I'm a beginner...


td width="79%"><div class="style2" style=" padding-left:0px;
padding-right:20px; padding-top:0px; padding-bottom:6px"
div align="justify" class="Style41"
form name="form1" method="post"
ENCTYPE="plain/text" action="mailto:contact (AT) atlantis (DOT) org"
table width="358" border="0"
cellspacing="0"
cellpadding="5"
tr
td width="50" align="right"><div
align="right" class="Style68"
div align="right">nom</div
/div></td
td width="288"><input name="nom"
type="text" class="Style41" id="nom" size="30"></td
/tr
tr
td align="right"><div
align="right"><span
class="Style68">e-mail</span></div></td
td><input name="e-mail" type="text"
class="Style41" id="e-mail" size="30"></td
/tr
tr
td align="right" valign="top"><div
align="right"
p class="Style68">message</p
/div></td
td><textarea name="message"
cols="30"
rows="5" class="Style41" id="message"></textarea></td
/tr
tr
td>&nbsp;</td
td><input type="image"
name="imageField"
src="../_pics/_buttons/sendfrg.jpg" width="63" height="22" border="0"

onClick="MM_goToURL('parent','http://www.atlantis.org/home_fr.html');return
document.MM_returnValue"
/tr
/table
/form




Reply With Quote
  #3  
Old   
DLock
 
Posts: n/a

Default Re: Problem with a form - 08-03-2004 , 05:48 PM



When I click on the submit button, I go back to the homepage (that's OK), but
the e-mail address I configured for receiving the form <contact (AT) atlantis (DOT) org>
never receives the form...
Thanks for your help,
DL


Reply With Quote
  #4  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Problem with a form - 08-03-2004 , 05:50 PM



What email client is configured on this computer?

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"DLock" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
When I click on the submit button, I go back to the homepage (that's OK),
but
the e-mail address I configured for receiving the form
contact (AT) atlantis (DOT) org
never receives the form...
Thanks for your help,
DL




Reply With Quote
  #5  
Old   
Gary White
 
Posts: n/a

Default Re: Problem with a form - 08-03-2004 , 05:55 PM



"DLock" <webforumsuser (AT) macromedia (DOT) com> wrote


A couple of points to look at:

Quote:
form name="form1" method="post"
ENCTYPE="plain/text" action="mailto:contact (AT) atlantis (DOT) org"
ENCTYPE should be "text/plain".



Quote:
src="../_pics/_buttons/sendfrg.jpg" width="63" height="22" border="0"

onClick="MM_goToURL('parent','http://www.atlantis.org/home_fr.html');return
document.MM_returnValue"

Change document.MM_returnValue to true:

src="../_pics/_buttons/sendfrg.jpg" width="63" height="22" border="0"
onClick="MM_goToURL('parent','http://www.atlantis.org/home_fr.html');return
true">

Even if those changes appear to fix it, it will only fix it for some (maybe
most) users. Many others will not be able to use the form because of an
incompatible e-mail client or no e-mail client on the computer being used.
You would get much more reliable performance if you used a server side
script to process the form.

Gary




Reply With Quote
  #6  
Old   
DLock
 
Posts: n/a

Default Re: Problem with a form - 08-03-2004 , 06:11 PM



Sorry but I'm a very beginner : what means "What email client is configured on this computer?".
My website is hosted on iPowerWeb. Does it help?
Thanks,
DL

Reply With Quote
  #7  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Problem with a form - 08-03-2004 , 06:14 PM



When you use this computer to send or receive email, what program do you
use?

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"DLock" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Sorry but I'm a very beginner : what means "What email client is
configured on this computer?".
My website is hosted on iPowerWeb. Does it help?
Thanks,
DL



Reply With Quote
  #8  
Old   
DLock
 
Posts: n/a

Default Re: Problem with a form - 08-03-2004 , 06:34 PM



I have a Mac, OS 10.3.4 and use Mail (Mac soft)

Reply With Quote
  #9  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Problem with a form - 08-03-2004 , 06:41 PM



Then you are experiencing a failure of your email client to pick up on the
mailto: method that you are using. I have the same problem with Eudora on
the Mac.

This illustrates how unreliable the mailto: method actually is.

There are two basic ways to process form data -

1. Use mailto:name (AT) domain (DOT) com as the action of the form
2. Use a server-side scripting method to a) harvest the form's data, b)
process it in some manner, e.g., enter it into a database, c) formulate and
send an email to one or more email recipients, and d) redirect the visitor
to some ending page

Method 1 is quite simple, and is also the least reliable. It depends both
on your visitor having an email client already installed on their computer -
this eliminates public computers - and on that email client responding to
the mailto call (Eudora on the Mac is a good example of one that does not).

Method 2 is the preferred method, since it eliminates the problems of method
1, but it means that you have to grapple with server-scripting somehow (ASP,
CF, PHP, perl, etc.).

So, it looks like you are doomed to use method 2. What scripting models are
supported by your site's host?

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"DLock" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
I have a Mac, OS 10.3.4 and use Mail (Mac soft)



Reply With Quote
  #10  
Old   
DLock
 
Posts: n/a

Default Re: Problem with a form - 08-03-2004 , 08:24 PM



Well, well, well ...
Not always simple to be a Mac user... but so exciting !
My web hoster supports PHP, ASP, SENDMAIL, PERL, but not CF.
Does it exist a tutorial on how to create this form, according the fact I'm a
very beginner and that it is quite urgent ?
Thanks for your lights Murray,
DL


Reply With Quote
Reply




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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.