HTML/.asp Contact Form Creation - can anyone help me please

HTML/.asp Contact Form Creation - can anyone help me please

Author
Discussion

drivin_me_nuts

Original Poster:

17,949 posts

212 months

Monday 24th May 2010
quotequote all
Can someone please help me with what I know is a simple task, but I seem to be completely useless at achieving it.

I want to create a simple contact form for my sebsite that triggers and .asp script on my server. Now my service provider (that silken home of the spider service... provider who are at times as useful as a chocolate firegard) seem to be unable to help me / tell me if it works or how to do it.

It's on a windows platform. Can someone please please post up some code that would show me the following:

1. the 'stuff' I need to put into the HTML, for: name, contact, subject message(as a text box)
2. the corresponding code that needs to go into the script that will run from the cgi-bin
3. At the end of the script can it be redirected to a thanks.htm page

I know it's not hard and I know i'm being dense, but as I get no help at all from them I can't even begin to see why it does not work and rather than mess around with what i've got i would rather use something new.

Can anyone help. It really is most frustrating.

Cheers

PetrolTed

34,429 posts

304 months

Monday 24th May 2010
quotequote all

<form action="/cgi-bin/receive.asp" method="POST">
<input name="surname" value="" size="20"/>
</form>

/cgi-bin/receive.asp
<%
dim sSurname
sSurname = request.form( "surname" )
write "Hello " & sSurname
%>

drivin_me_nuts

Original Poster:

17,949 posts

212 months

Monday 31st May 2010
quotequote all
Thanks for your help.

I found the 'help' provided by my service provider in sorting out even the basics less than useless. In the end I went with the simplest approach and now use emailmeform.com to provide what I need.

Simple, easy and took 10 minutes to set up.

As for the home of the spider service provider - I rate them about 3/10 in terms of support for things other than the mundane and the ordinary.