By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,712 Members | 2,111 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,712 IT Pros & Developers. It's quick & easy.

E-mailform with subject

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a

"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

P: n/a
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

P: n/a
@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.