![]() |
| Another ASP Mail Form question |
|
clintribble
|
I have a site that uses the code from here: http://www.hostmysite.com/support/programming/aspmail/
The code works. If I browse to the page directly I get an empty e-mail. When I fill out my form and hit submit, the page does nothing. Here's the code on the form page ( http://www.ribblegroup.com/ribblegroup_contactus.aspx ) :
here's the code from the aspmailform.asp page ( http://www.ribblegroup.com/aspmailform.asp )
but I don't think the aspmail page is the problem. for whatever reason, hitting submit does nothing but appear to "reload" the form page. Any help would be greatly appreciated. |
||||||||||||||||
|
|
|||||||||||||||||
|
dmalone
HostMySite Tech
|
Hi there,
Sorry for the delay in someone seeing your post. I took a look at the source on http://www.ribblegroup.com/ribblegroup_contactus.aspx and one thing that stuck out is that your aspmail form is contained in another main form that wraps the whole page, the one that begins with:
Maybe this is handling the post instead? I am not a .NET expert but that is where I would start! Take care, Dave |
||||||||||||||
|
|
|||||||||||||||
| asp email problem solved |
|
clintribble
|
That was the problem. I'll explain why it happened, just in case someone else has the same issue.
Using Microsoft Expression Web to create an ASPX page automatically inserts a form tag. I was using a Master Pages instead of dwt pages (which, as a coldfusion guy, I'm really starting to like the concept of). Those master pages defaulted to haveing a "form" nested right inside the main body tag as well. Thus, all of my pages were contained within forms. Thanks for catching that! Clint |
||||||||||||
|
|
|||||||||||||
|
dmalone
HostMySite Tech
|
Hey Clint,
Glad that helped! Happy developing! -Dave |
||||||||||||
|
|
|||||||||||||
| Another ASP Mail Form question |
|
||
|


