[RESOLVED] Simple Question <Form action="http:
For some reason I cannot get this simple form to work. Any idea? Do i have to make the method="post" instead of method="get"
Thanks.
<form name="email_updates_form_one1" action="http://ebm.news.saks.com/r/regf2?n=100&aid=488721095&a=0" method="get" onsubmit="checkEmail(this);">
<tr valign="middle">
<td align="right" class="bottomnav"> E-MAIL UPDATES:</td>
<td align="right"> <input type="text" size="35" name="EmailUpdateString" value="Enter E-Mail Address" onfocus="this.value=''" style="font-family: Helvetica, arial, sans-serif; font-size: 10px;"> <input type="image" name="email_updates_form_one_save" src="<%=imgGo%>" width="21" height="15" alt="GO" border="0" align="absmiddle">
<input type="hidden" name="prp13" value="b5">
</td>
</tr></form>
Two questions:
1) What is supposed to happen on submit? Are you passing information via the address bar or processing the values from the web page via a script?
2) What is happening with the onsubmit attribute? You're passing a parameter of "this", are you using a function which calls this somewhere else?
Answers:
1. When I submit this form I want it to go to another page ( and I am processing the values from the web page.
2. What would happen if I take the checkEmail(this) part out. I don't think it is doing anything in the code.
Thanks
Yippieee... i figured it out.. I was missing some hidden input fields that was giving me that error message.
Thanks
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Bookmarks