I can have a visitor choose a subject line for an email.
<div><label for="subject">S ubject:</label><br />
<select class="form" id="subject" name="subject">
<option value="one">One </option>
<option value="two">Two </option>
<option value="three">T hree</option>
</select></div>
I can also have them choose a destination.
<div><label for="recipient" >Send email to:</label><br />
<select class="form" id="recipient" name="recipient ">
<option value="1">Membe rship</option>
<option value="2">Perso nnel</option>
<option value="3">Webma ster</option>
</select></div>
Is it possible to do both together (without rewriting the script, as I'm
nowhere near qualified to be messing in that)? In other words, the user
would select an option which gives the topic as a subject line they are
writing about, AND that selection is automatically routed to the
appropriate recipient for that subject?
I could use the subject in the text and the email address as the value,
but one email recipient would be getting email on more than one topic, so
some means of setting both subject and recipient would be necessary. So
the webmaster might get emails with subject "Bug Report" or "Link
Submission", the subject line would serve to enable the emails to be
sorted properly, but emails with subjects like "Request New Password" or
Membership Question" would go to a different email address.
If it's not possible to rig this in the form itself, what options exist
that I haven't even entertained? 19 8613
In article <op************ **@news.rcn.com >, ne*****@spamrcn .com
enlightened us with... Is it possible to do both together (without rewriting the script, as I'm nowhere near qualified to be messing in that)? In other words, the user would select an option which gives the topic as a subject line they are writing about, AND that selection is automatically routed to the appropriate recipient for that subject?
Sure.
I assume the server side script expects particular values recipient and
subject?
Have the selection of subject write the recipient to a hidden input.
Keep in mind this requires javascript. Not everyone HAS javascript
(enabled). So, caveat emptor.
It may be preferable to do the decision on who the recipient is in the
server-side script.
If you want the javascript solution, it is pretty easy. I can throw an
example together for you.
If you want the server-side solution, tell me which language you're
using. :)
--
--
~kaeli~
Acupuncture is a jab well done. http://www.ipwebdesign.net/wildAtHeart http://www.ipwebdesign.net/kaelisSpace
Neal wrote: I could use the subject in the text and the email address as the value, but one email recipient would be getting email on more than one topic, so some means of setting both subject and recipient would be necessary. So the webmaster might get emails with subject "Bug Report" or "Link Submission"
Do you have control over email addresses? You could create different
email addresses for each topic. bu********@exam ple.com, li************* @example.com, me********@exam ple.com
If one person should get two categories, forward both addresses to the
same inbox. Then the recipients will know the topic by the to: field.
Not nearly as neat as a script solution, mind you.
You might have a look at TFMail, from NMS. It is a more advanced form
mail script. If you can install CGI scripts, it might do the job for you.
--
Brian (remove "invalid" from my address to email me) http://www.tsmchughs.com/
On Mon, 23 Feb 2004 14:59:41 GMT, Brian
<us*****@juliet remblay.com.inv alid> wrote: Neal wrote: I could use the subject in the text and the email address as the value, but one email recipient would be getting email on more than one topic, so some means of setting both subject and recipient would be necessary. So the webmaster might get emails with subject "Bug Report" or "Link Submission" Do you have control over email addresses? You could create different email addresses for each topic. bu********@exam ple.com, li************* @example.com, me********@exam ple.com
If one person should get two categories, forward both addresses to the same inbox. Then the recipients will know the topic by the to: field. Not nearly as neat as a script solution, mind you.
Oh my, our host allows 500 email addresses. My only problem is that if I
go the separate email route, most of the folks involved are a little inept
with computers, which means a LOT of hands-on tech help from me to get
these email addresses up and running - though there are forwarding and
other options there too. An excellent solution, but a last choice. You might have a look at TFMail, from NMS. It is a more advanced form mail script. If you can install CGI scripts, it might do the job for you.
Thanks for the tip - will look at it.
On Mon, 23 Feb 2004 07:57:06 -0600, kaeli <ti******@NOSPA M.comcast.net>
wrote: Sure. I assume the server side script expects particular values recipient and subject? Have the selection of subject write the recipient to a hidden input.
Keep in mind this requires javascript. Not everyone HAS javascript (enabled). So, caveat emptor. It may be preferable to do the decision on who the recipient is in the server-side script.
If you want the javascript solution, it is pretty easy. I can throw an example together for you. If you want the server-side solution, tell me which language you're using. :)
Well, I don't want you to have to write a script for me. I can get the
page to write "Hello world" and that's about it ;). Besides, I do want to
avoid any reliance on Javascript on this site, our typical user is not
running top-of-the-line equipment and software, and is usually not
particularly computer savvy.
I guess the reality is that selecting the recipient and the subject value
cannot be done with one select box. I might do it in another method -
perhaps by having them choose a subject, then have the user get sent to a
page which has an email form set up for that specific recipient and all...
a few options exist, thanks for your help!
In article <op************ **@news.rcn.com >, ne*****@spamrcn .com
enlightened us with... Well, I don't want you to have to write a script for me.
I'm sure it's a simple if-then-else. :)
Seriously.
Take me two minutes.
Just tell me the language. I guess the reality is that selecting the recipient and the subject value cannot be done with one select box. I might do it in another method - perhaps by having them choose a subject, then have the user get sent to a page which has an email form set up for that specific recipient and all... a few options exist, thanks for your help!
You're overcomplicatin g yourself - having a bunch of pages is too much
upkeep for such an easy task.
--
--
~kaeli~
Why do they sterilize the needles for lethal injections? http://www.ipwebdesign.net/wildAtHeart http://www.ipwebdesign.net/kaelisSpace
On Mon, 23 Feb 2004 10:11:23 -0600, kaeli <ti******@NOSPA M.comcast.net>
wrote: In article <op************ **@news.rcn.com >, ne*****@spamrcn .com enlightened us with... >
Well, I don't want you to have to write a script for me.
I'm sure it's a simple if-then-else. :) Seriously. Take me two minutes. Just tell me the language.
Insistent! :)
I'm using the NMS formmail.pl on the site. So something that could be
added to that (without messing it up for another form on the site) would
be perfect. I suppose if the suject is K the recipient is L, and so on. I
know jack shit about scripting, but sounds like something one could do...
On Mon, 23 Feb 2004 14:59:41 GMT, Brian
<us*****@juliet remblay.com.inv alid> wrote: You might have a look at TFMail, from NMS. It is a more advanced form mail script. If you can install CGI scripts, it might do the job for you.
I read through the documentation. Seems to me the only real extra bits are
more power over the confirmation message (which I'm satisfied with in my
current version), the ability to template the email better (which doesn't
matter to me), and support for emailing attatchments (read "the ability to
transport viruses", no thank you).
Are you aware of another improvement to the formmail that I'm not getting?
Neal wrote: On Mon, 23 Feb 2004, kaeli wrote:
In article <op************ **@news.rcn.com >, ne*****@spamrcn .com enlightened us with...
Well, I don't want you to have to write a script for me.
I'm sure it's a simple if-then-else. :) Just tell me the language.
I'm using the NMS formmail.pl on the site.
And to kaeli, that's a cgi program written in Perl. ;-)
--
Brian (remove "invalid" from my address to email me) http://www.tsmchughs.com/
Neal wrote: On Mon, 23 Feb 20, Brian wrote:
You might have a look at TFMail, from NMS. It is a more advanced form mail script.
I read through the documentation. Seems to me the only real extra bits are more power over the confirmation message
Are you aware of another improvement to the formmail that I'm not getting?
No, that's it. Sorry for the red herring. I thought there was more to
it, but on rereading the docs, it doesn't seem to be able to help you.
--
Brian (remove "invalid" from my address to email me) http://www.tsmchughs.com/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: J. Muenchbourg |
last post by:
I have an ASP admin script where I'm adding records, and I have a
category that already has set name values hard-coded into a selct option
pulldown, but if the user wants to create a new category and not use the
select pulldown, the value will end up being " , newvalue" when posting
from this sequence of pulldown and input text box:
<select name="CategoryName">
<option selected></option>
<option value="first">first category</option>...
|
by: Jeff Anderson |
last post by:
Is there a style for a select option's "selected" color? For example:
<HTML>
<BODY>
<FORM NAME="form1">
<SELECT NAME="mySelect" SIZE="7" style="background-color:red;">
<OPTION>Test 1
<OPTION>Test 2
<OPTION>Test 3
<OPTION>Test 4
|
by: Old Lady |
last post by:
Hi,
I need help!
I have a SELECT/OPTION list.
My goal is to have a TEXT input field in a form that is normally
disabled, but it should become enabled when the user select one
predefined OPTION. If the user change idea and select another OPTION,
the TEXT input field should be disabled again.
I hope I'm understandable.
Sorry for my bad English.
|
by: shagy |
last post by:
Hi,
I'm having a problem with a <select><option> which has white space in
values...
When I post the data I only get the first word (up to the white space).
"Testing white space" becomes "Testing" after posting
code...
<select name="descr" id="descr">
|
by: kirke |
last post by:
I want to load textarea's value in drop-down box.
In first page, such form is existed.
<form name="form1" method="post" action="next.php">
<textarea name="dayList" Id = "dayList" cols=20
rows=10></textarea>
</form>
in text area there's one column of values.
| |
by: glady |
last post by:
Please help
I saw the posted forum, the one i exactly want, could you just help me,
here is the code...
<td width="24%"><div align="right">Select Area:</div></td>
<td width="19%">
<select name="recipient" class="loginSelect">
<option value=""></option>
<option value="gotocentral@mydomain.com">Central </option>
<option value="gotowest@mydomain.com">West</option>...
|
by: pravinnweb |
last post by:
Hi i have select option in my page which works fine in firefox in which i mention specific width for select option when i clicked select list the option lengths are large the option area is expanded on firefox but in IE the option area is not expanded but when i removed the width then it works fine in IE but the select list width also incresed i dont want to expand the width of select tab here is the code
<tr><td >
<select...
|
by: fsalvador |
last post by:
Hi,
I am trying to figure it out how to to hide in onmouseout the select options of a form. Below is the code I got so far. It isn't working.
Please help.
Thanks
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
by: saurabh moses |
last post by:
hi
can anybody help me on <select> option in website
I have multiple option bar with multiple choices i want when i select one choice in one bar it show only related choices on another option bar. all other choices must be hidden
thanks...
<html>
<head>
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |