The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> contact page, my contact page does not work when submit!
vedo
post Jun 29 2009, 04:37 PM
Post #1


Newbie
*

Group: Members
Posts: 10
Joined: 29-June 09
Member No.: 9,022



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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jun 29 2009, 05:13 PM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Do you use a script or mailto? Can we see the page?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Jun 29 2009, 05:13 PM
Post #3


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



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?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
vedo
post Jun 30 2009, 03:05 AM
Post #4


Newbie
*

Group: Members
Posts: 10
Joined: 29-June 09
Member No.: 9,022



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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
vedo
post Jun 30 2009, 03:08 AM
Post #5


Newbie
*

Group: Members
Posts: 10
Joined: 29-June 09
Member No.: 9,022



QUOTE(pandy @ Jun 29 2009, 05:13 PM) *

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

I use mailto.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
vedo
post Jun 30 2009, 03:15 AM
Post #6


Newbie
*

Group: Members
Posts: 10
Joined: 29-June 09
Member No.: 9,022



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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jun 30 2009, 06:50 AM
Post #7


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
vedo
post Jun 30 2009, 01:46 PM
Post #8


Newbie
*

Group: Members
Posts: 10
Joined: 29-June 09
Member No.: 9,022



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!
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
vedo
post Jun 30 2009, 03:19 PM
Post #9


Newbie
*

Group: Members
Posts: 10
Joined: 29-June 09
Member No.: 9,022



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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Jun 30 2009, 04:57 PM
Post #10


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



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?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
vedo
post Jun 30 2009, 05:11 PM
Post #11


Newbie
*

Group: Members
Posts: 10
Joined: 29-June 09
Member No.: 9,022



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?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jun 30 2009, 05:28 PM
Post #12


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Are you sure you put the script in the same folder as contact.asp?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
vedo
post Jul 1 2009, 02:55 AM
Post #13


Newbie
*

Group: Members
Posts: 10
Joined: 29-June 09
Member No.: 9,022



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?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
vedo
post Jul 1 2009, 02:58 AM
Post #14


Newbie
*

Group: Members
Posts: 10
Joined: 29-June 09
Member No.: 9,022



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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jul 1 2009, 07:04 AM
Post #15


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



And ASP is working on your server? Have you used other ASP scripts?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
vedo
post Jul 1 2009, 01:59 PM
Post #16


Newbie
*

Group: Members
Posts: 10
Joined: 29-June 09
Member No.: 9,022



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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Jul 1 2009, 02:10 PM
Post #17


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jul 1 2009, 04:14 PM
Post #18


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



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.

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jul 1 2009, 04:19 PM
Post #19


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th April 2024 - 01:21 PM