[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 288
  • Last Modified:

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
0
basskozz
Asked:
basskozz
  • 5
  • 2
1 Solution
 
mrichmonCommented:
Well I assume you are using ASP?

In any case the HTML is similar:


<form name="contact" method="post" action="yourpage.asp">
To:
<select name="emailTo">
  <option value="support@website.com">Support</option>
  <option value="sales@website.com">Sales</option>
  <option value="general@website.com">General</option>
  <option value="suggestions@website.com">Suggestions</option>
</select>

From:
<input name="emailFrom" type="text">

Message:
<textarea name="Message"></textarea>

<input type="submit" name="SendEmail" value="Submit Form">
</form>
0
 
basskozzAuthor Commented:
mrichmon,
Unfortunatly, I don't have ASP support.
I do however have PHP support with my host.
Can you post an alternative ?

Thanks,
BassKozz
0
 
mrichmonCommented:
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.
0
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

 
basskozzAuthor Commented:
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
0
 
mrichmonCommented:
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.
0
 
mrichmonCommented:
This tutorial may be helpful too:

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

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

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

  • 5
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now