Problem with HTML

Discussion in 'HTML & Website Design' started by Matt18, May 14, 2012.

  1. #1
    Hi

    Can you please help me with my form. it doesn't submit in IE. It works fine in Chrome and FF... I have no idea where is the problem :S

    Here is the code:

    <form action="http://www.ceramictiles.com/bahamas/search-results/" method="get">
    <h3>Select type:</h3> <select id="selectype" name="typeoftile">
    <option value="999">All types of tiles</option>
    <option value="220">Bathroom ceramic tiles</option><option value="290">Ceramic tiles for projects</option><option value="210">Ceramics outlet</option><option value="280">Facades ceramic tiles</option><option value="240">Floor ceramic tiles</option><option value="230">Kitchen ceramic tiles</option><option value="270">Outdoor ceramic tiles</option><option value="260">Porcelain tiles</option><option value="250">Wall ceramic tiles</option><option value="120">Indoor clinker</option><option value="150">Industrial clinker</option><option value="110">Outdoor clinker</option><option value="410">Glass mosaic</option><option value="440">Inox mosaic</option><option value="420">Stone mosaic</option><option value="430">Vitro mosaic</option></select><br />
    
    <select id="selectype" name="producertype">
    <option value="999"></option>
    <option value="99952">Alcalagres</option><option value="999773">Aparici</option><option value="999968">Cinca</option><option value="99921414">e-Ceramica</option><option value="99921412">Ebesa</option><option value="9991089">Emigres</option><option value="99928">Exagres</option><option value="9991192">Goldcer</option><option value="99921411">GresTejo</option><option value="99946">Halcon Ceramicas</option><option value="99988">Inalco</option><option value="999580">Keope</option><option value="999405">Mosavit</option><option value="99921413">Nofer</option><option value="9991548">Revigres</option><option value="9991580">Sanindusa</option><option value="999125">Tau Ceramica</option><option value="999136">Vives</option><option value="999137">Zirconio</option></select>
    <i>Categories are covering each other. E.g. Kitchen tiles also contain wall tiles and floor tiles.</i>
    <h3>Select size:</h3>
    
    <div style="float:left;padding:12px;"><img src="http://www.ceramictiles.com/bahamas/wp-content/themes/eceramica/images/hor.jpg"><br /><input type='checkbox' name='formatHorizontal' value='1' /></div>
    <div style="float:left;padding:12px;"><img src="http://www.ceramictiles.com/bahamas/wp-content/themes/eceramica/images/ver.jpg"><br /><input type='checkbox' name='formatVertical' value='1' /></div>
    <div style="float:left;padding:12px;"><img src="http://www.ceramictiles.com/bahamas/wp-content/themes/eceramica/images/squ.jpg"><br /><input type='checkbox' name='formatSquare' value='1' /></div>
    
    <div style="float:left;padding:2px;"><img src="http://www.ceramictiles.com/bahamas/wp-content/themes/eceramica/images/hei.jpg"></div>
    <div style="float:left;padding:2px;"><h3 style="display:inline;">></h3><input type='text' name='heightmin' size='1'>cm<br /><h3 style="display:inline;"><</h3><input type='text' name='heightmax' size='1'>cm</div>
    <div style="float:left;padding:2px;"><img src="http://www.ceramictiles.com/bahamas/wp-content/themes/eceramica/images/wid.jpg"></div>
    <div style="float:left;padding:2px;"><h3 style="display:inline;">></h3><input type='text' name='widthmin' size='1'>cm<br /><h3 style="display:inline;"><</h3><input type='text' name='widthmax' size='1'>cm</div>
    
    
    <h3>Select color:</h3> <select id="selectype" name="coloroftile">
    <option value="900">All colors</option>
    <option value="9003">Beige</option><option value="9004">Black</option><option value="9005">Blue</option><option value="9008">Brown</option><option value="90014">Gold</option><option value="90013">Green</option><option value="9001">Grey</option><option value="9006">Orange</option><option value="9009">Pink</option><option value="9007">Red</option><option value="90011">Silver</option><option value="90012">Violet</option><option value="9002">White</option><option value="90010">Yellow</option></select>
    <br />
    <input class="highlight_input_btn fr" type="submit" value="Find" />
    </form>
    
    Code (markup):
    Thanks a lot!
     
    Matt18, May 14, 2012 IP
  2. Feelme@alone

    Feelme@alone Active Member

    Messages:
    128
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #2
    everthing is ok in code
     
    Feelme@alone, May 14, 2012 IP
  3. Matt18

    Matt18 Guest

    Messages:
    591
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    But yet it doesn't submit :S
     
    Matt18, May 14, 2012 IP
  4. Matt18

    Matt18 Guest

    Messages:
    591
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Matt18, May 14, 2012 IP
  5. 137th Gebirg

    137th Gebirg Active Member

    Messages:
    70
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #5
    Couple of things I would check - your form "action" tag seems to point to a directory and not a file. You may want to specify a file name, even if it's index.php. Also, try changing your method from "get" to "post". They behave differently and "get" may not send all your information properly. I've had better results with "post" myself, especially when it comes to uploading files in a form. Unsure if there is a browser compatibility issue there, though. You may also want to add ENCTYPE="multipart/form-data" to the form tag. I've found that also helps when it comes to packaging the form data across the HTTPD stream. Aside from those things, can't think of any reason it shouldn't work.
     
    137th Gebirg, May 15, 2012 IP
  6. samueleangelo

    samueleangelo Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I would suggest you to put the action tag to a file (php file).
     
    samueleangelo, Jun 5, 2012 IP