Re: Form query
by "Larry Floyd" <LWFloyd(at)mactec.com>
|
Date: |
Thu, 08 Feb 2001 07:43:35 -0800 |
To: |
<hwg-techniques(at)hwg.org>, <mike.henden(at)xtra.co.nz> |
|
todo: View
Thread,
Original
|
|
Mike,
It all depends on the CGI script that does the mailing. It seems to me =
that you must already pass the email destination to the script using a =
form. Why not use the radio buttons, like you suggested, to pass that =
information to the script? Something like:
<form method=3D"post" action=3D"mailscript.pl">
<INPUT TYPE=3D"radio" NAME=3D"mailto" VALUE=3D"deptA(at)company.com">Depart=
ment A<BR>
<INPUT TYPE=3D"radio" NAME=3D"mailto" VALUE=3D"deptB(at)company.com">Depart=
ment B<BR>
<INPUT TYPE=3D"radio" NAME=3D"mailto" VALUE=3D"deptC(at)company.com">Depart=
ment C<BR>
</form>
How do you currently specify the email destination?
-------------------------------
L. Floyd
Harding ESE, a Mactec Company
415.884.3187
http://www.mactec.com/
>>> "Mike Henden" <mike.henden(at)xtra.co.nz> 02/06/01 04:04PM >>>
Hi 'listers,
Have a request from a client that I would appreciate some advice on.
At present the form page on the site has the results of the form=20
emailed to a single address using a form to mail CGI script provided=20
by the hosting service. The client has asked me to provide a choice=20
of four destinations (mailboxes) that the form results may be sent to=20
by the user. The user should be able to select the destination for=20
their enquiry using 'radio buttons' on the form i.e send to=20
Department A, Department B, Department C or Department D.
Is this possible? Or do I need to use multiple forms to achieve this =
result?
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA