This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > August 2004 > Forms Action





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Forms Action
Coyle

2004-08-06, 4:14 am

I have created a form in Dreamweaver. When you press the submit button, the
form gets sent to an email address. Is it possible to have two submit buttons?
Depending on which button is sleceted will determin the email address that the
form goes to.

Gary White

2004-08-06, 7:14 am

"Coyle" <webforumsuser@macromedia.com> wrote in message
news:ceuqb9$62k$1@forums.macromedia.com...
> I have created a form in Dreamweaver. When you press the submit

button, the
> form gets sent to an email address. Is it possible to have two

submit buttons?
> Depending on which button is sleceted will determin the email

address that the
> form goes to.



It would be better to have two radio buttons, or a drop down list,
where the user can select who they want the e-mail to go to and have
the server script processing the form decide what address to use based
on the user's choice.

Gary


Murray *TMM*

2004-08-06, 12:15 pm

There is an extension for this at Marja Ribbers-de Vroed's site
http://www.flevooware.nl/dreamweaver

--
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
==================

"Coyle" <webforumsuser@macromedia.com> wrote in message
news:ceuqb9$62k$1@forums.macromedia.com...
> I have created a form in Dreamweaver. When you press the submit button,

the
> form gets sent to an email address. Is it possible to have two submit

buttons?
> Depending on which button is sleceted will determin the email address

that the
> form goes to.
>



Coyle

2004-08-06, 12:15 pm

Thanks for your help! I was able to make the radio buttons, but now what code
for the server script do I use so that it will send to different email
addresses based on the user's choice of that question?

Gary White

2004-08-06, 7:14 pm

Coyle wrote:

>Thanks for your help! I was able to make the radio buttons, but now what code
>for the server script do I use so that it will send to different email
>addresses based on the user's choice of that question?



What script are you using to process the form?


Gary
Coyle

2004-08-06, 7:14 pm

I am using a cgi-bin/mailto.exe. Then it forwards the message to the email address.
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews