Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Aug 2011
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    HELP forgive me for my Newbness

    So im making my friend a web page for his upcoming business, Ive gotten most of the details down, but im having issues with the Submit button as well (I want to be able to click it, get the thankyou.html page to appear and also DL all the info), and I also want to make it to where all the info that is submitted gets downloaded to a MYsql server please help!!

    Heres what I have (forgive me for my Newbness)


    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Hook Up My Dance</title></head><br />
    <br />
    <form action="thankyou.html" method="get" enctype="application/x-www-form-urlencoded"
    onsubmit="return confirmSubmit();" >
    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
    <meta name="author" content="2011 Vortek Consulting .®" />

    <style type="text/css">
    /*----------Text Styles----------*/
    .ws6 {font-size: 8px;}
    .ws7 {font-size: 9.3px;}
    .ws8 {font-size: 11px;}
    .ws9 {font-size: 12px;}
    .ws10 {font-size: 13px;}
    .ws11 {font-size: 15px;}
    .ws12 {font-size: 16px;}
    .ws14 {font-size: 19px;}
    .ws16 {font-size: 21px;}
    .ws18 {font-size: 24px;}
    .ws20 {font-size: 27px;}
    .ws22 {font-size: 29px;}
    .ws24 {font-size: 32px;}
    .ws26 {font-size: 35px;}
    .ws28 {font-size: 37px;}
    .ws36 {font-size: 48px;}
    .ws48 {font-size: 64px;}
    .ws72 {font-size: 96px;}
    .wpmd {font-size: 13px;font-family: Arial,Helvetica,Sans-Serif;font-style: normal;font-weight: normal;}
    /*----------Para Styles----------*/
    DIV,UL,OL /* Left */
    {
    margin-top: 0px;
    margin-bottom: 0px;
    }
    </style>


    <form><body>
    <div id="image1" style="position:absolute; overflow:hidden; left:49px; top:17px; width:700px; height:600px; z-index:0"><img src="images/Registration Page 1.1.jpg" alt="" title="" border=0 width=700 height=600 /></div>

    <select name="formselect2" style="position:absolute;left:447px;top:249px;width:200px;z-index:12">
    </select>
    <input name="First" type="text" style="position:absolute;width:200px;left:167px;top:177px;z-index:1" onChange="&lt;input type=&quot;text&quot; name=&quot;First&quot; id=&quot;Name&quot; size=&quot;10&quot; maxlength=&quot;10&quot; onChange=&quot;return checkForText(this.value);&quot; /&gt;" />

    <input name="Last" type="text" style="position:absolute;width:200px;left:167px;top:213px;z-index:2" onBlur="&lt;input type=&quot;text&quot; name=&quot;Last&quot; id=&quot;Last&quot; size=&quot;10&quot; maxlength=&quot;10&quot; onChange=&quot;return checkForText(this.value);&quot; /&gt;" onChange="&lt;input type=&quot;text&quot; name=&quot;Last&quot; id=&quot;Last&quot; size=&quot;10&quot; maxlength=&quot;10&quot; onChange=&quot;return checkForText(this.value);&quot; /&gt;" />
    <input name="Address" type="text" style="position:absolute;width:200px;left:166px;top:249px;z-index:3" onChange="&lt;input type=&quot;text&quot; name=&quot;Add&quot; id=&quot;Add&quot; size=&quot;10&quot; maxlength=&quot;10&quot; onChange=&quot;return checkForText(this.value);&quot; /&gt;" />

    <input name="City" type="text" style="position:absolute;width:200px;left:165px;top:283px;z-index:4" onChange="&lt;input type=&quot;text&quot; name=&quot;City&quot; id=&quot;City&quot; size=&quot;10&quot; maxlength=&quot;10&quot; onChange=&quot;return checkForText(this.value);&quot; /&gt;" />
    <input name="Zip" type="text" style="position:absolute;width:200px;left:165px;top:321px;z-index:5" onChange="&lt;input type=&quot;text&quot; name=&quot;Zip&quot; id=&quot;Zip&quot; size=&quot;10&quot; maxlength=&quot;10&quot; onChange=&quot;return checkForText(this.value);&quot; /&gt;" />
    <input name="State" type="text" style="position:absolute;width:200px;left:165px;top:357px;z-index:6" onChange="&lt;input type=&quot;text&quot; name=&quot;State&quot; id=&quot;State&quot; size=&quot;10&quot; maxlength=&quot;10&quot; onChange=&quot;return checkForText(this.value);&quot; /&gt;" />

    <input name="Text Number" type="text" style="position:absolute;width:200px;left:164px;top:393px;z-index:7" onChange="&lt;input type=&quot;text&quot; name=&quot;Textnumber&quot; id=&quot;TN&quot; size=&quot;10&quot; maxlength=&quot;10&quot; onChange=&quot;return checkForNumber(this.value);&quot; /&gt;" />

    <input name="Birth Date" type="text" style="position:absolute;width:200px;left:165px;top:429px;z-index:8" onChange="&lt;input type=&quot;text&quot; name=&quot;Birth&quot; id=&quot;BD&quot; size=&quot;10&quot; maxlength=&quot;10&quot; onChange=&quot;return checkForNumber(this.value);&quot; /&gt;" />
    Last edited by kyroskata; 08-10-2011 at 09:13 AM. Reason: original was garbage

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,924
    Thanks
    203
    Thanked 2,531 Times in 2,509 Posts
    Do please read the posting guidelines regarding silly thread titles. The thread title is supposed to help people who have a similar problem in future. Yours is useless for this purpose. You can (and should) edit it to make it more meaningful.

    When posting here please help us to help you by following the posting guidelines and wrapping your code in CODE tags. This means use the octothorpe or # button on the toolbar. You can (and should) edit your previous post.

    You should post only relevant code - few people will have the time or inclination to plough through the unformatted stuff you have posted.

    An obvious error is that you have your <form> and </form> tags in the document head.

    If your friend is starting a business he would be well advised to seek professional help to develop his website. The biggest cost for any business is sales not made. Amateurish websites can make a big contribution to this.

    Finally - there is no need to grovel.

    These new tests are making disabled people jump through hoops. - MP on discusion show, BBC 2

    All the code given in this post has been tested and is intended to address the question asked.
    Unless stated otherwise it is not just a demonstration.

  • Users who have thanked Philip M for this post:

    kyroskata (08-10-2011)

  • #3
    Banned
    Join Date
    Feb 2011
    Posts
    2,699
    Thanks
    13
    Thanked 395 Times in 395 Posts
    I think the first thing you need to do before worrying about any other functionality is correct your currently invalid html using the w3c validator.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •