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>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
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.