Link to home
Start Free TrialLog in
Avatar of basskozz
basskozz

asked on

Contact Form / Multiple contact options (e-mail addresses)

How can I create a contact form in MS FrontPage that will have a dropdown listbox that will give the user the option to select multiple different contacts?
i.e. Sales (sales@website.com) /Support (support@website.com) /Suggestions (suggestions@website.com) /General (general@website.com)/ Etc...

Similar to: http://www.griffintechnology.com/contact/email.html

Thanks,
BassKozz
ASKER CERTIFIED SOLUTION
Avatar of mrichmon
mrichmon

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of basskozz
basskozz

ASKER

mrichmon,
Unfortunatly, I don't have ASP support.
I do however have PHP support with my host.
Can you post an alternative ?

Thanks,
BassKozz
The above is not using asp.

It would be the same.

The page that is submitted to i.e. yourpage.asp would become yourpage.php and then the code on that page that actually sends the email would be different.

But the code to set up the contact form is HTML so identical in both.
mrichmon,

Are there any third-party applications that can help me create this contact form... I have very little experiance with HTML & PHP.

Thanks,
BassKozz
The above code is the code for the contact form.

As for actually sending the email in PHP on the action page look at this:

http://www.php-scripts.com/php_diary/122899.php3

This is a step by step tutorial for doing exactly what you want - other than you need to add the select box for the to drop-down as I have shown above.

Let me know if that helps.
This tutorial may be helpful too:

PHP Tutorial: Writing Your First PHP Script: Feedback Form
http://www.thesitewizard.com/archive/feedbackphp.shtml
Frontpage cannot do this.  You will need to use a server side language

-Corey
coreybryant,  The user mentioned that they have PHP available which is why I gave links to how to do it using PHP