Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - HTML Form Not Submitting
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

HTML Form Not Submitting

 Post Reply Post Reply
Author
pmormr View Drop Down
Senior Member
Senior Member


Joined: 06 January 2003
Location: United States
Status: Offline
Points: 1479
Post Options Post Options   Thanks (0) Thanks(0)   Quote pmormr Quote  Post ReplyReply Direct Link To This Post Topic: HTML Form Not Submitting
    Posted: 29 September 2003 at 3:47pm

i have an html form. it doesn't work when you press enter or submit. Here's the code for the form.

<table width="50%" border="1" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <form name="form1" method="post" action="joke_search.asp">
      <td colspan="2" bgcolor="#0000FF">
        <div align="center"><b>Search Options</b></div>
      </td>
    </form>
  </tr>
  <tr>
    <td width="25%" bgcolor="#0099FF">
      <div align="right">Search By:</div>
    </td>
    <td width="25%">
      <select name="tos">
        <option value="JokeName">Joke Name</option>
        <option value="AdditionDate">Addition Date (mm/dd/yyyy)</option>
        <option value="ID">Joke ID</option>
      </select>
    </td>
  </tr>
  <tr>
    <td width="25%" bgcolor="#0099FF">
      <div align="right">Search for:</div>
    </td>
    <td width="25%">
      <input type="text" name="st">
    </td>
  </tr>
  <tr>
    <td colspan="2">
      <div align="center">
        <input type="submit" value="Search">
      </div>
    </td></form>
  </tr>
</table>

Back to Top
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gullanian Quote  Post ReplyReply Direct Link To This Post Posted: 29 September 2003 at 4:29pm
theres a </form> near the top
Back to Top
zMaestro View Drop Down
Senior Member
Senior Member


Joined: 11 May 2003
Location: Egypt
Status: Offline
Points: 1183
Post Options Post Options   Thanks (0) Thanks(0)   Quote zMaestro Quote  Post ReplyReply Direct Link To This Post Posted: 30 September 2003 at 11:36am

can you refere us to this joke site  ?

 

Back to Top
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gullanian Quote  Post ReplyReply Direct Link To This Post Posted: 30 September 2003 at 11:43am
Im confused looking at your form, are you sure it works?  It looks like you have a select box instead of 3 seperate form elements.
Back to Top
pmormr View Drop Down
Senior Member
Senior Member


Joined: 06 January 2003
Location: United States
Status: Offline
Points: 1479
Post Options Post Options   Thanks (0) Thanks(0)   Quote pmormr Quote  Post ReplyReply Direct Link To This Post Posted: 30 September 2003 at 1:24pm

it worked fine after i removed that extra form tag... thanks guies. (i can't believe i missed that one) As for a reference to the joke site... it opens on january 1st. I'll post details later.

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.