Help - Search - Members - Calendar
Full Version: contact page
HTMLHelp Forums > Web Authoring > Web Site Functionality
vedo
I need help with my contact page. When i click submit, it does not work. i tried evrything, i did lot of different coding, but still cant get work. maybe i am missing something that i dont see it. it is simple thing, but i just cant get it work.
please i need help.
thanks
pandy
Do you use a script or mailto? Can we see the page?
Darin McGrew
Can you post the URL (address) of your contact page so we can see what's going on? What happens when you try to submit the form?
vedo
QUOTE(vedo @ Jun 29 2009, 04:37 PM) *

I need help with my contact page. When i click submit, it does not work. i tried evrything, i did lot of different coding, but still cant get work. maybe i am missing something that i dont see it. it is simple thing, but i just cant get it work.
please i need help.
thanks

it's a www.sdwebdesign.net
vedo
QUOTE(pandy @ Jun 29 2009, 05:13 PM) *

Do you use a script or mailto? Can we see the page?

I use mailto.
vedo
QUOTE(vedo @ Jun 29 2009, 04:37 PM) *

I need help with my contact page. When i click submit, it does not work. i tried evrything, i did lot of different coding, but still cant get work. maybe i am missing something that i dont see it. it is simple thing, but i just cant get it work.
please i need help.
thanks

and also i am trying to do mailto
pandy
No you don't. wink.gif

Is this the page, http://www.sdwebdesign.net/contact.html ?

CODE
<form id="contact" name="contact" method="post" action="contact.asp">


If the server gives the right response, that ASP script doesn't exist.
http://www.sdwebdesign.net/contact.asp


Also, you've closed the FORM prematurely. All the form controls must be inside the form.

HTML
<form id="contact" name="contact" method="post" action="contact.asp">
</form>
# LOTS OF OTHER STUFF #
<input type="submit" name="submit" id="submit" value="Submit" />


That's why the page doesn't even reload when you hit submit. The submit button isn't part of the form.
vedo
QUOTE(vedo @ Jun 30 2009, 03:15 AM) *

QUOTE(vedo @ Jun 29 2009, 04:37 PM) *

I need help with my contact page. When i click submit, it does not work. i tried evrything, i did lot of different coding, but still cant get work. maybe i am missing something that i dont see it. it is simple thing, but i just cant get it work.
please i need help.
thanks

and also i am trying to do mailto

that is the page!
vedo
QUOTE(vedo @ Jun 30 2009, 03:15 AM) *

QUOTE(vedo @ Jun 29 2009, 04:37 PM) *

I need help with my contact page. When i click submit, it does not work. i tried evrything, i did lot of different coding, but still cant get work. maybe i am missing something that i dont see it. it is simple thing, but i just cant get it work.
please i need help.
thanks

and also i am trying to do mailto

also my ASP script is on the server, i don't know why it's giving that message
Darin McGrew
Well, it may be on the server, but the URL
http://www.sdwebdesign.net/contact.asp
sends a redirect response, redirecting to
http://www.sdwebdesign.net/error.htm?
vedo
QUOTE(vedo @ Jun 30 2009, 03:15 AM) *

QUOTE(vedo @ Jun 29 2009, 04:37 PM) *

I need help with my contact page. When i click submit, it does not work. i tried evrything, i did lot of different coding, but still cant get work. maybe i am missing something that i dont see it. it is simple thing, but i just cant get it work.
please i need help.
thanks

and also i am trying to do mailto

now the submit button works, but it gives me page does not exist or not found. any advice?
pandy
Are you sure you put the script in the same folder as contact.asp?
vedo
QUOTE(vedo @ Jun 30 2009, 03:19 PM) *

QUOTE(vedo @ Jun 30 2009, 03:15 AM) *

QUOTE(vedo @ Jun 29 2009, 04:37 PM) *

I need help with my contact page. When i click submit, it does not work. i tried evrything, i did lot of different coding, but still cant get work. maybe i am missing something that i dont see it. it is simple thing, but i just cant get it work.
please i need help.
thanks

and also i am trying to do mailto

also my ASP script is on the server, i don't know why it's giving that message

Any advice?
vedo
QUOTE(vedo @ Jun 30 2009, 05:11 PM) *

QUOTE(vedo @ Jun 30 2009, 03:15 AM) *

QUOTE(vedo @ Jun 29 2009, 04:37 PM) *

I need help with my contact page. When i click submit, it does not work. i tried evrything, i did lot of different coding, but still cant get work. maybe i am missing something that i dont see it. it is simple thing, but i just cant get it work.
please i need help.
thanks

and also i am trying to do mailto

now the submit button works, but it gives me page does not exist or not found. any advice?

yes I did. they are all together
pandy
And ASP is working on your server? Have you used other ASP scripts?
vedo
QUOTE(pandy @ Jul 1 2009, 07:04 AM) *

And ASP is working on your server? Have you used other ASP scripts?

I don't know if it's working on my server. how do i test that to see if it's working on my server? No i have not used other ASP scripts. which other ones i can use? i can send you one that i have and maybe you can look it up.
Darin McGrew
QUOTE
And ASP is working on your server? Have you used other ASP scripts?
That's a good point. Either the server is redirecting because it can't find /contact.asp or the server is redirecting because it is configured to redirect all *.asp URLs to the error page.
pandy
Darin, I don't know how it works with ASP, could it be that you just aren't allowed to access ASP scripts directly? I don't know if there is a recognizable difference (for the server) between ASP scripts, like this one, and ASP pages with ASP and HTML mixed. What I'm trying to say is, could this be the server's way of saying "access denied"? unsure.gif

vedo, I don't know anything about ASP. You seem to be on an IIS server, so ASP is likely. Check if the spec for the plan you have says anything about ASP. Snooping around the control panel may give something too. Write, or find, something very simple in ASP, like a script that just spits out "hello world" and see if it runs.

pandy
Don't known of this site is reliable, but there are simple ASP samples you could try.
http://www.asptutorial.info/

These date directives (or what they're called) for example.
http://www.asptutorial.info/learn/Datetime.html

I'm assuming you just put for example <% =date %> in a HTML page, rename it to .asp, upload it and call it up in the browser. If it works the "tag" should be replaced with today's date. Note that's just how I *think* it works. blush.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.