Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!
|
|
#1 |
|
Registered User
Join Date: Jul 2004
Posts: 2
|
Form: select an email address to send message to
Hi Again
I might be thinking too far out of the box but... I'm putting together a website for a small faculty. On the contact us form, I would like to have a pulldown list from which the user can select a member of the faculty who will recieve the completed form. So the value of the selected member needs to tie up with an email address option. ANY IDEAS??? Cheers Steve |
|
|
|
|
|
|
|
#2 |
|
Registered User
Join Date: Mar 2004
Location: Nu Braunfelds, Tex
Posts: 608
|
go from member name tu emael
Yu kan yuz javaskript arrays...won tu hold member name, other tu hold his emael kee. lookup name in array 1, get emael from same spot in array 2.
sum kode tu get yu started DROP-DOWN LIST select data about name yu want <! ************** java script ****************> <script language="JavaScript"> <!-- function getmember(){ number1=document.form1.memstuff.selectedIndex; string1=document.form1.memstuff.options[number1].value; document.write("\n kontents=",string1); } // --> </script> <!********************** html... form> <! ************* css > <style> .klas1{position:relative;left:55;top:-65px;width:700px} </style> <div class="klas1"> <form name="form1" method="POST"> select name yu want <select name="memstuff" onChange="getmember(this)"> <option selected>select 1 name <option value="emael address1">jak </option> <option value="emael address2">jill </option> <option value="emael address3">jorj </option> <option value="emael address4">jaksun </option> <option value="emael address5">Jeffersun</option> </select> </form> </div> <! ************** bottom av form *************> </BODY> </HTML> Last edited by muneepenee; 07-09-2004 at 08:50 AM.. |
|
|
|
|
|
#3 |
|
Registered User
|
Ditch JS
Ditch Javascript.
Use server-side scripting instead... protects the email addresses of your departments. Check out YACF at: http://www.ibasics.biz/yacf.zip It lets you associate a seperate email address with each subject chosen, and it's server side (PHP) so automates and protects against spam attacks.
__________________
The proper response to 'Good Morning' is not 'Prove it'. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. * To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
|
|
|
|
|
#4 |
|
Registered User
Join Date: Jul 2004
Location: London
Posts: 3
|
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Do you like money? Read this. | guntdanc | Making money on the web | 0 | 08-06-2006 11:08 AM |
| Turn $5 Into $15,000 In Only 30 Days...heres How! | Snoop_Rob | Making money on the web | 0 | 07-27-2006 12:18 PM |
| 5 bucks | mattasand | Making money on the web | 0 | 05-16-2006 10:54 AM |
Advertise