creating webpage inquiry

amd1979
amd1979 used Ask the Experts™
on
i want to create a page where the visitor where can post there comments and contact number and there was a submit button and when the visiror the message will forward to a certain email add..

pls help.

this is site is great
example:

http://www.flextronics.com/contactus/default.asp
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
Umm..
You can't do this in pure HTML...

You must have a script.. or do it via a frontpage supported server..

But I think the easy way out of this is to use a script..

What you can do is this:

Download one of this script..

I personally prefer PHP
http://www.hotscripts.com/Detailed/18919.html
http://www.hotscripts.com/Detailed/18944.html
http://www.hotscripts.com/Detailed/6329.html

Then unzip and install it to your web server.

After that setup your web form.. Like what the website did..

Just make sure that the form action points to your website..

<FORM ACTION="http://www.yoursite.com/scriptname.php" METHOD="POST">

---- Whatever form components here.. input box.. button.e.tc..

</FORM>


Just follow the guides.. when you download the software.. If you still can't do anything about it.. then perhaps.. post your email here.. I can send you one of the formmail script i am using :-)

Thanks
aaron

Commented:
what kind of hosting do you have? is CGI supported? Your options are: ASP, Perl, PHP... basically you submit your form to a script that generates an email in the form it uses and sends it to the recipient. Do you have this option? You can use a <Form action="mailto:me@mydomain.com?subject=from my website"> but it's a bit inelegant.

Mark
Top Expert 2013

Commented:
Just do the form this way:

<form action="maileto:you@yourdomain">
the input fields go here.
</form>

Just replce you@yourdomain with the email adress where you want it sent.

However what you will get is pretty ugly and hard to work with.  If you want it nicely formatted then you have to send it to a script that will format the message and tehn email it.
I don't recommend doing it this way unless you have no server side processing capabilities.

Info on using the mailto: protocol is here:

http://developer.netscape.com:80/viewsource/husted_mailto/mailto.html 

Cd&
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Commented:
No! Don't use the mailto: method! Far too much of the time (aprox 50% of visitors) it will simply not work.

http://www.isolani.co.uk/newbie/mailto.html

Some techniques that will allow you to get a form emailed to you are described here:

http://www.allmyfaqs.com/faq.pl?Email_form_data
Top Expert 2013

Commented:
This question has been abandoned. I will make a recommendation to the
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.
<note>
   In the absence of responses, I may recommend DELETE unless it is clear
   to me that it has value as a PAQ.  Silence = you don't care
</note>

Cd&

Author

Commented:
i will accept the answer of aaron.
sorry..

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial