469,646 Members | 1,558 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,646 developers. It's quick & easy.

E-mailform with subject

Hi,

I'm using an e-mailform on my website. I would like to make a dropdownmenu
with several subjects, so when the e-mail arrives I can immediatly see it's
subject.

Therefore, this code must be changed:

<input type="hidden" name="subject" value="selection of the dropdownmenu"

Any suggestions?

Regards,
Gert-Jan
Jul 20 '05 #1
3 1555

"Gert-Jan van Middelkoop" <gj*************@wanadoo.nl> schreef in bericht
news:3f*********************@news.wanadoo.nl...
Hi,

I'm using an e-mailform on my website. I would like to make a dropdownmenu
with several subjects, so when the e-mail arrives I can immediatly see it's subject.

Therefore, this code must be changed:

<input type="hidden" name="subject" value="selection of the dropdownmenu"

Any suggestions?


Use a select menu instead of a hidden field:

<select name="subject">
<option selected="selected">Default subject</option>
<option>Optional subject</option>
... etc
</select>
JW

Jul 20 '05 #2
Thanks, it works.

"Janwillem Borleffs" <jw@jwscripts.com> schreef in bericht
news:3f*********************@news.wanadoo.nl...

"Gert-Jan van Middelkoop" <gj*************@wanadoo.nl> schreef in bericht
news:3f*********************@news.wanadoo.nl...
Hi,

I'm using an e-mailform on my website. I would like to make a dropdownmenu with several subjects, so when the e-mail arrives I can immediatly see

it's
subject.

Therefore, this code must be changed:

<input type="hidden" name="subject" value="selection of the dropdownmenu"
Any suggestions?


Use a select menu instead of a hidden field:

<select name="subject">
<option selected="selected">Default subject</option>
<option>Optional subject</option>
... etc
</select>
JW

Jul 20 '05 #3
@SM


Gert-Jan van Middelkoop a *crit :

Hi,

I'm using an e-mailform on my website. I would like to make a dropdownmenu
with several subjects, so when the e-mail arrives I can immediatly see it's
subject.

Therefore, this code must be changed:

<input type="hidden" name="subject" value="selection of the dropdownmenu"


<select name="subject">
<option value="selection of the dropdownmenu"> selection of the dropdownmenu
<option value="Tres bon site"> Very good site
</select>

You just need to have an element with :
- good name : "subject"
- good value : automaticly given by select-menu
Jul 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

19 posts views Thread by gsb | last post: by
1 post views Thread by Jeff Sandys | last post: by
6 posts views Thread by Susan | last post: by
1 post views Thread by kamlai | last post: by
3 posts views Thread by Laangen_LU | last post: by
3 posts views Thread by b. dougherty | last post: by
4 posts views Thread by Alec MacLean | last post: by
5 posts views Thread by Alan Isaac | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.