dcsimg
www.webdeveloper.com
Results 1 to 4 of 4

Thread: [RESOLVED] Simple Question <Form action="http:

  1. #1
    Join Date
    Mar 2007
    Posts
    5

    resolved [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">&nbsp;&nbsp;&nbsp;E-MAIL UPDATES:</td>
    <td align="right">&nbsp;<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;">&nbsp;<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>

  2. #2
    Join Date
    Nov 2006
    Location
    Springfield, MO
    Posts
    1,541
    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?

  3. #3
    Join Date
    Mar 2007
    Posts
    5
    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

  4. #4
    Join Date
    Mar 2007
    Posts
    5
    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
  •  
HTML5 Development Center



Recent Articles