Email Form (not just a simple one)
I need a script that emails the result and it needs to have fields like:
But on TEACHER, i need it to be a dropdown list, and when you choose a certain teacher, it changes the email who you are emailing to. So the teacher gets the email. NOT all of the teachers on the list, just the one that is selected.
There are two components to "email forms".
1. There is code that actually gets the data and sends it by email. This is done in a server side language like PHP, ASP, etc. You can either make this yourself or use a free service to send it for you. (You determine this by the action of the form.)
The other way (actually perhaps easier), though it means people can find the teacher's emails directly, is to just use a regular select menu. For each option make the value the email and the label the teacher's name. Very simple, very effective, and will work every time.
Daniel - Freelance Web Design | <?php?> | <html>| Deutsch | italiano | espa˝ol | portuguŕs | catalÓ | un peu de franšais | Ninasoma Kiswahili | 日本語の学生でした。| درست العربية
I agree that php would be the way to go. Everything could be set up in the PHP script as well (an associative array holding all the teacher's names and emails), eliminating the need for a database.
I could design this for you, if you were looking for paid help, or I'd be happy to answer questions if you decided to try yourself.
Adrian ~ facebook | gist/github
['22.214.171.124','126.96.36.199'] // ip,ip array!
"Take that sticker *off* your hat; you look stupid" --Wil Wheaton