|
| |
|
|
ryanjantz
Posts: 30 Joined: 8/15/2006 Status: offline
|
submit form won't submit! - 9/24/2006 16:00:58
I have a submit form that is even part of a members area script that i got off of hotscripts. I've uploaded it onto the web but when you fill it out and click submit it clears the form and doesn't send you to the confirmation page. now, i know you'll say that the button is set to "reset" but it isn't. it is selected to be a "submit button". since i couldn't figure it out. i rebuilt the form from scratch.... and the same thing happened. i'm trying to email the submission to myself, but it just won't go. here's my form code for you to see, because i'm at a loss. <form method="POST" action="--WEBBOT-SELF--" name="Register" onsubmit="return FrontPage_Form1_Validator(this)" language="JavaScript">
<!--webbot bot="SaveResults" S-Email-Format="TEXT/PRE" S-Email-Address="ryan_jantz@hotmail.com" B-Email-Label-Fields="TRUE" S-Builtin-Fields U-Confirmation-Url="http://www.cbcwinfield.com/psalm96.net/aspprotect/users/register_confirm.asp" --><div align="center"><center>
<table
border="0" cellspacing="0" width="757" height="375" style="border-collapse: collapse" bordercolor="#111111" cellpadding="0">
<tr>
<td colspan="4" width="1518" height="23" background="../../images/header.gif" style="padding-top: 3">
</td>
</tr>
<tr>
<td colspan="4" width="1518" height="23" background="../../images/body.jpg" style="padding-top: 3">
<p align="center" style="margin-top: 0; margin-bottom: 0"><font face="Arial" color="#FFFFFF">
<strong>Register to Become a Member of psalm96.net</strong></font></p>
<p align="center" style="margin-top: 0; margin-bottom: 0"> </p>
</td>
</tr>
<tr>
<td valign="top" align="right" width="1" height="283" rowspan="9" background="../../images/bodyleft.jpg"> </td>
<td align="right" width="797" height="35" background="../../images/bodymiddle.jpg" style="padding-right: 8"><small><strong>
<font face="Arial" color="#FFFFFF">First
Name</font></strong></small></td>
<td width="802" height="35" background="../../images/bodymiddle.jpg"> <input type="text" name="First_Name" size="30"></td>
<td valign="top" width="19" height="283" rowspan="9" background="../../images/bodyright.jpg"> </td>
</tr>
<tr>
<td align="right" width="797" height="35" background="../../images/bodymiddle.jpg" style="padding-right: 8"><small><strong>
<font face="Arial" color="#FFFFFF">Last
Name</font></strong></small></td>
<td width="600" height="35" background="../../images/bodymiddle.jpg"> <input type="text" name="Last_Name" size="30"></td>
</tr>
<tr>
<td align="right" width="797" height="35" background="../../images/bodymiddle.jpg" style="padding-right: 8"><small><strong>
<font face="Arial" color="#FFFFFF">City</font></strong></small></td>
<td width="600" height="35" background="../../images/bodymiddle.jpg"> <input type="text" name="City" size="30"></td>
</tr>
<tr>
<td align="right" width="797" height="35" background="../../images/bodymiddle.jpg" style="padding-right: 8"><strong><small>
<font face="Arial" color="#FFFFFF">
State / Country</font></small></strong></td>
<td width="600" height="35" background="../../images/bodymiddle.jpg"> <input type="text" name="State_Province" size="30"></td>
</tr>
<tr>
<td align="right" width="797" height="35" background="../../images/bodymiddle.jpg" style="padding-right: 8"><small><strong>
<font face="Arial" color="#FFFFFF">Email</font></strong></small></td>
<td width="600" height="35" background="../../images/bodymiddle.jpg"> <!--webbot bot="Validation" s-validation-constraint="Greater than" s-validation-value="0" --><input type="text" name="Email" size="30"></td>
</tr>
<tr>
<td align="right" width="797" height="35" background="../../images/bodymiddle.jpg" style="padding-right: 8"><strong>
<font face="Arial" style="font-size: smaller" color="#FFFFFF">How did you hear about us?</font></strong></td>
<td width="600" height="35" background="../../images/bodymiddle.jpg"> <input type="text" name="Hear" size="30"></td>
</tr>
<tr>
<td align="right" width="797" height="35" background="../../images/bodymiddle.jpg" style="padding-right: 8"><small><strong>
<font face="Arial" color="#FFFFFF">Username</font></strong></small></td>
<td width="600" height="35" background="../../images/bodymiddle.jpg">
<font color="#FFFFFF"> <input type="text" name="Username" size="30"></font></td>
</tr>
<tr>
<td align="right" width="797" height="35" background="../../images/bodymiddle.jpg" style="padding-right: 8"><strong>
<font face="Arial" color="#FFFFFF"><small>Password</small></font></strong></td>
<td width="600" height="35" background="../../images/bodymiddle.jpg">
<font color="#FFFFFF"> <input type="password" name="Password" size="30"></font></td>
</tr>
<tr>
<td align="right" width="797" height="30" background="../../images/bodymiddle.jpg" style="padding-right: 8">
<font face="Arial" size="2" color="#FFFFFF"><strong>
Newsletter</strong></font></td>
<td width="600" height="30" background="../../images/bodymiddle.jpg">
<font color="#FFFFFF">
<input type="checkbox" name="Newsletter" value="True" checked>
<font face="Arial" size="1">Do you want to be subscribed to the
newsletter ?</font></font></td>
</tr>
<tr>
<td colspan="4" bgcolor="#FFFFFF" width="1518" height="50" background="../../images/body.jpg">
<p align="center"><input type="submit" value="Register" name="B1">
</button></p>
</td>
</tr>
<tr>
<td colspan="4" width="1518" height="25" background="../../images/footer.gif">
</td>
</tr>
</table>
</center></div>
</form> any questions or things that stick out? it just won't work! thanks
|
|
|
|
Seventh
Posts: 1235 Joined: 8/4/2002 From: The Motor City Status: offline
|
RE: submit form won't submit! - 9/24/2006 17:50:16
Hello, ryanjantz. I think I see your problem. At the bottom of the information you posted you have this: <p align="center"><input type="submit" value="Register" name="B1"> </button></p> It should look like this: <p align="center"><input type="submit" value="Register" name="B1"> </input></p>
_____________________________
"go forth and create."
|
|
|
|
ryanjantz
Posts: 30 Joined: 8/15/2006 Status: offline
|
RE: submit form won't submit! - 9/24/2006 22:48:09
hey seventh, thanks for the reply i tried what you said and no change. i don't understand. i'm using frontpage and just remade a brand new submit button, and everything looks exactly right in all the settings. it's set to send email results i've got the confirmation page set correctly. i go to the web page and fill out the form, click submit and form goes blank and nothing gets sent. anyone else have an idea?
|
|
|
|
ryanjantz
Posts: 30 Joined: 8/15/2006 Status: offline
|
RE: submit form won't submit! - 9/24/2006 23:34:08
i just made a really generic submit form from a blank page in frontpage with the same results. so i changed the submit code with this that i found from another form online... <input class="button" value="Complete Registration" accesskey="s" type="submit"> it behaves exactly the same way. so... i changed the submit button to save the results to file instead of email them and nothing changes! could there be something wrong on my computers end, or is it actually something wrong with the code. it's crazy.
|
|
|
|
ryanjantz
Posts: 30 Joined: 8/15/2006 Status: offline
|
RE: submit form won't submit! - 9/25/2006 2:17:24
just letting you all know, that i figured it out. my form page was a ASP page and i guess those the frontpage server extensions has a hard time sending information with ASP so i just changed the extension to .html and bingo, works perfectly. thanks. seventh for your reply!
|
|
|
|
Seventh
Posts: 1235 Joined: 8/4/2002 From: The Motor City Status: offline
|
RE: submit form won't submit! - 9/25/2006 14:23:26
quote:
ORIGINAL: ryanjantz just letting you all know, that i figured it out. my form page was a ASP page and i guess those the frontpage server extensions has a hard time sending information with ASP so i just changed the extension to .html and bingo, works perfectly. thanks. seventh for your reply! Sorry for the late response. I wish, in hindsight of course, you could have posted a link to an actual page as my answer was solely based on what you posted. And when I uploaded it I did get a reply with that minor change. Anyway, glad you got it working.
_____________________________
"go forth and create."
|
|
|
|
Reflect
Posts: 4765 From: USA Status: offline
|
RE: submit form won't submit! - 9/25/2006 15:33:41
quote:
my form page was a ASP page and i guess those the frontpage server extensions has a hard time sending information with ASP I don't normally use FP forms but from what I remember that is NOT an issue. Take care, Brian
_____________________________
|
|
|
|
BobbyDouglas
Posts: 5570 Joined: 5/15/2003 From: Arizona Status: offline
|
RE: submit form won't submit! - 10/15/2006 13:45:14
quote:
I don't normally use FP forms but from what I remember that is NOT an issue. - It's been awhile for me, but I think you're right... With FP Components, I usually like to create a new page and try the component on just that single page. So in your case, make a new asp page, create a new form with just a single input, and then give it a try. Don't copy anything over from your old page.
_____________________________
Arizona Web Design - Mr Bobs Web Design in Arizona The Arizona Web Hosting Challenge
|
|
|
|
BillD
Posts: 3 Joined: 10/15/2006 Status: offline
|
RE: submit form won't submit! - 10/15/2006 14:13:44
Nope, it's strictly with the page name. I have a brand new page that I let FP 2003 create - pure html. I have a single field and a submit. It sends to an email address. It's as basic and simple as it gets with no formatting or trickery. I saved it as http://dickerson-design.com/formtest.htm and it works like a champ. I simply went in and renamed it to http://dickerson-design.com/formtest.asp and it quit working. I've done this with several files on various domains and it's a common pattern - want to break a FrontPage form? Rename the file to .asp and it breaks, rename it back and it works. Check it out, steal or look at the code, play with it. http://dickerson-design.com/formtest.asp and http://dickerson-design.com/formtest.htm I suspect it's in how the server presents the code when it handles ASP. The code in those two is identical, clean, new, fresh and 100% created by FP, I didn't copy or change a thing from the FP defaults. <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>New Page 1</title> </head> <body> <form method="POST" action="--WEBBOT-SELF--"> <!--webbot bot="SaveResults" U-File="_private/form_results.csv" S-Format="TEXT/CSV" S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE" S-Email-Format="TEXT/PRE" S-Email-Address="billd@netins.net" B-Email-Label-Fields="TRUE" B-Email-Subject-From-Field="FALSE" S-Email-Subject="test form" S-Builtin-Fields startspan --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" i-checksum="43374" endspan --> <p><input type="text" name="test1" size="20"></p> <p><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p> </form> </body> </html>
|
|
|
|
BobbyDouglas
Posts: 5570 Joined: 5/15/2003 From: Arizona Status: offline
|
RE: submit form won't submit! - 10/15/2006 16:51:15
....I said "make a new asp page, create a new form with just a single input, and then give it a try. Don't copy anything over from your old page." You made a new html page and then the form, then renamed the page. Try making a new asp page first, then create the new form with just a single input. Try the form and see if it works. The way you just tested it, adds the variable of ensuring you can save the page as a new page with a different extension. What happens if that isn't working?
< Message edited by BobbyDouglas -- 10/15/2006 17:04:13 >
_____________________________
Arizona Web Design - Mr Bobs Web Design in Arizona The Arizona Web Hosting Challenge
|
|
|
|
BillD
Posts: 3 Joined: 10/15/2006 Status: offline
|
RE: submit form won't submit! - 12/21/2006 21:59:30
Hey, I've done it all ways, I even used FTP to simply name the same file back and forth to ASP or HTML. the file, not changed other than the name or extension worked as HTM and not as ASP. It was NOT FP making changes, I even did it with notepad and my FTP application and now I have Microsoft backing my contention that it can't work, and you can go here to see why........ (my FTP app was not making changes, subtle or otherwise, to the file) tp://support.microsoft.com/kb/928714/en-us CAUSE This behavior occurs if the following conditions are true: • The form that you submitted is located on a Web server that is running Microsoft Internet Information Services (IIS). Additionally, the server uses Microsoft FrontPage Server Extensions. • The form that you submitted has a file name extension that maps to a script handler on the IIS Web server. Back to the top Back to the top RESOLUTION To resolve this behavior, save the form as a Web page that uses a file name extension that is not mapped to a script handler on the IIS Web server. For example, save the form as an .htm file. The reason is that the server sees the ASP extension, etc. etc. So that's why if you put the EXACT same form, and all code in a file named HTM or HTML it will work, but simply FTP in and change the extension to ASP and it breaks. It's not FrontPage doing a thing, it's the FP extensions on the server breaking it. Finally, Microsoft explains the issue, it's the SERVER.
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|