Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Urgent Help required

New Here ,
Aug 30, 2006 Aug 30, 2006
Hi,
First of all let me tell you that I am new to Dreamweaver and in learning process. Well I want to know one thing here. I am creating a form in dream weaver 8. It includes just a text field, a text area and a submit button. What I want to do is to send the information in the fields when the button is clicked. Please can any one tell me how to do it step by step. Waiting for your replies and thanks for giving your time. Please reply quick.

Cheers,
Adeel
TOPICS
Server side applications
518
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 30, 2006 Aug 30, 2006
a form can be directed anywhere, and do anything. search for what your form
does, and you should find some relevant info here.
--
If you haven't already, you would be well served searching through the
archives for the answer to your question. The archives can be found here:

http://groups.google.com/group/macromedia.dreamweaver
http://groups.google.com/group/macromedia.dreamweaver.appdev


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 30, 2006 Aug 30, 2006
Please read the answer you have already gotten before posting the identical
question on another forum.

--
Murray --- ICQ 71997575
Adobe Community Expert
(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
==================


"shaxxx" <webforumsuser@macromedia.com> wrote in message
news:ed45pv$ong$1@forums.macromedia.com...
> Hi,
> First of all let me tell you that I am new to Dreamweaver and in learning
> process. Well I want to know one thing here. I am creating a form in dream
> weaver 8. It includes just a text field, a text area and a submit button.
> What
> I want to do is to send the information in the fields when the button is
> clicked. Please can any one tell me how to do it step by step. Waiting for
> your
> replies and thanks for giving your time. Please reply quick.
>
> Cheers,
> Adeel
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 31, 2006 Aug 31, 2006
Hi, yeah i checked it ther and I am using the mailto: method but it is not working. can you tell me why and correect the code. here is the code...


<form id="form1" name="form1" method="post" action="mailto:ldniit@yahoo.com">
<label>E mail Address:<br />
<input type="text" name="textfield" />
</label>
<p>
<label>Comments: <br />
<textarea name="textarea"></textarea>
</label>
</p>
<p> </p>
<p>
<label>
<input type="submit" name="Submit" value="Submit" />
</label>
<label>
<input type="reset" name="Submit2" value="Clear" />
</label>
</p>
</form>

Please do reply quick I will be very thankful
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 31, 2006 Aug 31, 2006
The mailto method is quite unreliable. Maybe it's not working because your
email client just doesn't work with mailto:.

There are only two ways to process form data -

1. Use mailto:name@domain.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, or home users without email clients
installed (more and more it seems) - and on the installed email client
responding to
the mailto call. It is not possible to use this method *and* send the
visitor to a
thank you page as well.

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.).

You would have to decide which of these methods is best for your needs,
but if it's Method 2, then start by asking your host what they provide for
form
processing.

--
Murray --- ICQ 71997575
Adobe Community Expert
(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
==================


"specialmee" <webforumsuser@macromedia.com> wrote in message
news:ed69vo$a2k$1@forums.macromedia.com...
> Hi, yeah i checked it ther and I am using the mailto: method but it is not
> working. can you tell me why and correect the code. here is the code...
>
>
> <form id="form1" name="form1" method="post"
> action="mailto:ldniit@yahoo.com">
> <label>E mail Address:<br />
> <input type="text" name="textfield" />
> </label>
> <p>
> <label>Comments: <br />
> <textarea name="textarea"></textarea>
> </label>
> </p>
> <p> </p>
> <p>
> <label>
> <input type="submit" name="Submit" value="Submit" />
> </label>
> <label>
> <input type="reset" name="Submit2" value="Clear" />
> </label>
> </p>
> </form>
>
> Please do reply quick I will be very thankful
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 31, 2006 Aug 31, 2006
Can you please any exapmples of which email domains have allowed this mailto thing? I mean someting like hotmail, yahoo .....I hope u understand my question. Waiting for your replky and thanks a lot for your time.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 31, 2006 Aug 31, 2006
Don't use Mailto:. It's bad practice. It has nothign to do with domains,
everything to do with people's computers. You control forms and data
submission on the server. You cannot control it on auser's computer.
Mailto puts the control onto the users's computer - you will never know how
it's handled.

(additionally, your email address will capture ungodly amounts of spam).

ask your host what type of Server-side language your hosting package allows
you. Post that and you can get the correct way to send a form.


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 31, 2006 Aug 31, 2006
The problem with mailto: is this -

Any given individual filling out your form may be operating in one of three
kinds of environment -

1. A public computer (like a Library or internet cafe) where there is NO
email client installed. In this case, mailto: (which depends on the local
email client) will fail since there is none.
2. A private/public computer on which an email client that doesn't properly
respond to mailto: triggers is installed. In this case, the form submission
will fail
3. A private/public computer on which an email client that DOES respond
properly is installed. In this case, the form submission will succeed.

In other words, using mailto: as the action of your form will fail in 2 out
of 3 of those instances.

It's not related to the destination domain at all.

--
Murray --- ICQ 71997575
Adobe Community Expert
(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
==================


"specialmee" <webforumsuser@macromedia.com> wrote in message
news:ed6v0b$4f3$1@forums.macromedia.com...
> Can you please any exapmples of which email domains have allowed this
> mailto
> thing? I mean someting like hotmail, yahoo .....I hope u understand my
> question. Waiting for your replky and thanks a lot for your time.
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 01, 2006 Sep 01, 2006
LATEST
Say you've got a text field called frmName and another called frmPhoneNumber. You want to email the submitted information to yourself at myself@domain.com.

Setup your form and set the action to a page called emailData.asp. emailData.asp would have the following if you're using ASP:

customerName = Request.Form("frmName")
customerPhone = Request.Form("frmPhoneNumber")
emailBody = "Name: "&customerName&"<br>Phone Number: "&customerPhone&""

Set myMail = CreateObject("CDO.Message")
myMail.Subject = "User Submitted Data"
myMail.From = "page@domain.com"
myMail.To = "myself@domain.com"
myMail.HTMLBody = emailBody
myMail.Send
Set myMail = Nothing

Response.Redirect("page_you_want_them_to_see_at_end.asp")

This method uses CDOSYS on a Windows server using ASP.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines