SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot carlos_10111's Avatar
    Join Date
    Jun 2006
    Location
    SOUTH AFRICA
    Posts
    160
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question submit button does not want to work!

    Hello guys,

    I don't know if you have come accross such a problem.
    Check this link http://www.congoprogres.org/users/pa...r_registration

    Just try to register and see if you can submit.
    Because when i press the button nothing hapens, but in firefox it works fine.
    By the way im having the same problem under IE7 as well.

    Thanx.
    Wonders shall never end!

  2. #2
    SitePoint Addict
    Join Date
    Oct 2003
    Location
    United States
    Posts
    281
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Around your country field you have another form tag. This should not be.

    Code:
      <form name="querry_frm">
        <select name=country>
          ...
        </select>
       </form>
    Remove the form tags around this field.

  3. #3
    SitePoint Zealot carlos_10111's Avatar
    Join Date
    Jun 2006
    Location
    SOUTH AFRICA
    Posts
    160
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up

    Quote Originally Posted by tmapm View Post
    Around your country field you have another form tag. This should not be.

    Code:
      <form name="querry_frm">
        <select name=country>
          ...
        </select>
       </form>
    Remove the form tags around this field.
    Thanx man.

    You know sometimes we get so much involved with coding, that we miss the simplest mistakes.
    This is why i got this error:
    PHP Code:
    function countriesList()
    {?>
    <form name="querry_frm">
        
                    <select name=country>
                      <OPTION value=''>Select country
                      <OPTION VALUE="AF" >Afghanistan
                      <OPTION VALUE="AL" >Albania
                      <OPTION VALUE="DZ" >Algeria
                      <OPTION VALUE="AS" >American Samoa
                      <OPTION VALUE="AD" >Andorra
                      <OPTION VALUE="AO" >Angola
                      <OPTION VALUE="AI" >Anguilla
                      <OPTION VALUE="AQ" >Antarctica
                      <OPTION VALUE="AG" >Antigua and Barbuda
                      <OPTION VALUE="AR" >Argentina
                      <OPTION VALUE="AM" >Armenia
                      <OPTION VALUE="AW" >Aruba
                      <OPTION VALUE="AU" >Australia
                      <OPTION VALUE="AT" >Austria
                      <OPTION VALUE="AZ" >Azerbaijan
                      <OPTION VALUE="BS" >Bahamas
                      <OPTION VALUE="BH" >Bahrain
                      <OPTION VALUE="BD" >Bangladesh
                      <OPTION VALUE="BB" >Barbados
                      <OPTION VALUE="BY" >Belarus
                      <OPTION VALUE="BE" >Belgium
                      <OPTION VALUE="BZ" >Belize
                      <OPTION VALUE="BJ" >Benin
                      <OPTION VALUE="BM" >Bermuda
                      <OPTION VALUE="BT" >Bhutan
                      <OPTION VALUE="BO" >Bolivia
                      <OPTION VALUE="BA" >Bosnia & Herzegovina
                      <OPTION VALUE="BW" >Botswana
                      <OPTION VALUE="BV" >Bouvet Island
                      <OPTION VALUE="BR" >Brazil
                      <OPTION VALUE="IO" >British Indian Ocean Territory
                      <OPTION VALUE="BN" >Brunei Darussalam
                      <OPTION VALUE="BG" >Bulgaria
                      <OPTION VALUE="BF" >Burkina Faso
                      <OPTION VALUE="BI" >Burundi
                      <OPTION VALUE="KH" >Cambodia
                      <OPTION VALUE="CM" >Cameroon
                      <OPTION VALUE="CA" >Canada
                      <OPTION VALUE="CV" >Cape Verde
                      <OPTION VALUE="KY" >Cayman Islands
                      <OPTION VALUE="CF" >Central African Republic
                      <OPTION VALUE="TD" >Chad
                      <OPTION VALUE="CL" >Chile
                      <OPTION VALUE="CN" >China
                      <OPTION VALUE="CX" >Christmas Island
                      <OPTION VALUE="CC" >Cocos (Keeling) Islands
                      <OPTION VALUE="CO" >Colombia
                      <OPTION VALUE="KM" >Comoros
                      <OPTION VALUE="CG" >Congo
                      <OPTION VALUE="CD" >Congo, Democratic Republic of the
                      <OPTION VALUE="CK" >Cook Islands
                      <OPTION VALUE="CR" >Costa Rica
                      <OPTION VALUE="CI" >Cote d'Ivoire
                      <OPTION VALUE="HR" >Croatia
                      <OPTION VALUE="CU" >Cuba
                      <OPTION VALUE="CY" >Cyprus
                      <OPTION VALUE="CZ" >Czech Republic
                      <OPTION VALUE="DK" >Denmark
                      <OPTION VALUE="DJ" >Djibouti
                      <OPTION VALUE="DM" >Dominica
                      <OPTION VALUE="DO" >Dominican Republic
                      <OPTION VALUE="TL" >East Timor
                      <OPTION VALUE="EC" >Ecuador
                      <OPTION VALUE="EG" >Egypt
                      <OPTION VALUE="SV" >El Salvador
                      <OPTION VALUE="GQ" >Equatorial Guinea
                      <OPTION VALUE="ER" >Eritrea
                      <OPTION VALUE="EE" >Estonia
                      <OPTION VALUE="ET" >Ethiopia
                      <OPTION VALUE="FK" >Falkland Islands
                      <OPTION VALUE="FO" >Faroe Islands
                      <OPTION VALUE="FJ" >Fiji
                      <OPTION VALUE="FI" >Finland
                      <OPTION VALUE="FR" >France
                      <OPTION VALUE="GF" >French Guiana
                      <OPTION VALUE="PF" >French Polynesia
                      <OPTION VALUE="TF" >French Southern Territories
                      <OPTION VALUE="GA" >Gabon
                      <OPTION VALUE="GM" >Gambia
                      <OPTION VALUE="GE" >Georgia
                      <OPTION VALUE="DE" >Germany
                      <OPTION VALUE="GH" >Ghana
                      <OPTION VALUE="GI" >Gibraltar
                      <OPTION VALUE="GR" >Greece
                      <OPTION VALUE="GL" >Greenland
                      <OPTION VALUE="GD" >Grenada
                      <OPTION VALUE="GP" >Guadeloupe
                      <OPTION VALUE="GU" >Guam
                      <OPTION VALUE="GT" >Guatemala
                      <OPTION VALUE="GN" >Guinea
                      <OPTION VALUE="GW" >Guinea-Bissau
                      <OPTION VALUE="GY" >Guyana
                      <OPTION VALUE="HT" >Haiti
                      <OPTION VALUE="HM" >Heard & McDonald Islands
                      <OPTION VALUE="HN" >Honduras
                      <OPTION VALUE="HK" >Hong Kong
                      <OPTION VALUE="HU" >Hungary
                      <OPTION VALUE="IS" >Iceland
                      <OPTION VALUE="IN" >India
                      <OPTION VALUE="ID" >Indonesia
                      <OPTION VALUE="IR" >Iran
                      <OPTION VALUE="IQ" >Iraq
                      <OPTION VALUE="IE" >Ireland
                      <OPTION VALUE="IL" >Israel
                      <OPTION VALUE="IT" >Italy
                      <OPTION VALUE="JM" >Jamaica
                      <OPTION VALUE="JP" >Japan
                      <OPTION VALUE="JO" >Jordan
                      <OPTION VALUE="KZ" >Kazakhstan
                      <OPTION VALUE="KE" >Kenya
                      <OPTION VALUE="KI" >Kiribati
                      <OPTION VALUE="KW" >Kuwait
                      <OPTION VALUE="KG" >Kyrgyzstan
                      <OPTION VALUE="LA" >Laos
                      <OPTION VALUE="LV" >Latvia
                      <OPTION VALUE="LB" >Lebanon
                      <OPTION VALUE="LS" >Lesotho
                      <OPTION VALUE="LR" >Liberia
                      <OPTION VALUE="LY" >Libya
                      <OPTION VALUE="LI" >Liechtenstein
                      <OPTION VALUE="LT" >Lithuania
                      <OPTION VALUE="LU" >Luxembourg
                      <OPTION VALUE="MO" >Macau
                      <OPTION VALUE="MK" >Macedonia
                      <OPTION VALUE="MG" >Madagascar
                      <OPTION VALUE="MW" >Malawi
                      <OPTION VALUE="MY" >Malaysia
                      <OPTION VALUE="MV" >Maldives
                      <OPTION VALUE="ML" >Mali
                      <OPTION VALUE="MT" >Malta
                      <OPTION VALUE="MH" >Marshall Islands
                      <OPTION VALUE="MQ" >Martinique
                      <OPTION VALUE="MR" >Mauritania
                      <OPTION VALUE="MU" >Mauritius
                      <OPTION VALUE="YT" >Mayotte
                      <OPTION VALUE="MX" >Mexico
                      <OPTION VALUE="FM" >Micronesia
                      <OPTION VALUE="MD" >Moldova
                      <OPTION VALUE="MC" >Monaco
                      <OPTION VALUE="MN" >Mongolia
                      <OPTION VALUE="MS" >Montserrat
                      <OPTION VALUE="MA" >Morocco
                      <OPTION VALUE="MZ" >Mozambique
                      <OPTION VALUE="MM" >Myanmar
                      <OPTION VALUE="NA" >Namibia
                      <OPTION VALUE="NR" >Nauru
                      <OPTION VALUE="NP" >Nepal
                      <OPTION VALUE="NL" >Netherlands
                      <OPTION VALUE="AN" >Netherlands Antilles
                      <OPTION VALUE="NC" >New Caledonia
                      <OPTION VALUE="NZ" >New Zealand
                      <OPTION VALUE="NI" >Nicaragua
                      <OPTION VALUE="NE" >Niger
                      <OPTION VALUE="NG" >Nigeria
                      <OPTION VALUE="NU" >Niue
                      <OPTION VALUE="NF" >Norfolk Island
                      <OPTION VALUE="KP" >North Korea
                      <OPTION VALUE="MP" >Northern Mariana Islands
                      <OPTION VALUE="NO" >Norway
                      <OPTION VALUE="OM" >Oman
                      <OPTION VALUE="PK" >Pakistan
                      <OPTION VALUE="PW" >Palau
                      <OPTION VALUE="PS" >Palestine
                      <OPTION VALUE="PA" >Panama
                      <OPTION VALUE="PG" >Papua New Guinea
                      <OPTION VALUE="PY" >Paraguay
                      <OPTION VALUE="PE" >Peru
                      <OPTION VALUE="PH" >Philippines
                      <OPTION VALUE="PN" >Pitcairn
                      <OPTION VALUE="PL" >Poland
                      <OPTION VALUE="PT" >Portugal
                      <OPTION VALUE="PR" >Puerto Rico
                      <OPTION VALUE="QA" >Qatar
                      <OPTION VALUE="RE" >Reunion
                      <OPTION VALUE="RO" >Romania
                      <OPTION VALUE="RU" >Russian Federation
                      <OPTION VALUE="RW" >Rwanda
                      <OPTION VALUE="KN" >Saint Kitts and Nevis
                      <OPTION VALUE="WS" >Samoa
                      <OPTION VALUE="SM" >San Marino
                      <OPTION VALUE="ST" >Sao Tome and Principe
                      <OPTION VALUE="SA" >Saudi Arabia
                      <OPTION VALUE="SN" >Senegal
                      <OPTION VALUE="YU" >Serbia and Montenegro
                      <OPTION VALUE="SC" >Seychelles
                      <OPTION VALUE="SL" >Sierra Leone
                      <OPTION VALUE="SG" >Singapore
                      <OPTION VALUE="SK" >Slovakia
                      <OPTION VALUE="SI" >Slovenia
                      <OPTION VALUE="SB" >Solomon Islands
                      <OPTION VALUE="SO" >Somalia
                      <OPTION VALUE="ZA" >South Africa
                      <OPTION VALUE="GS" >South Georgia And The South Sandwich Islands
                      <OPTION VALUE="KR" >South Korea
                      <OPTION VALUE="ES" >Spain
                      <OPTION VALUE="LK" >Sri Lanka
                      <OPTION VALUE="LC" >St Lucia
                      <OPTION VALUE="SH" >St. Helena
                      <OPTION VALUE="PM" >St. Pierre and Miquelon
                      <OPTION VALUE="VC" >St. Vincent and The Grenadines
                      <OPTION VALUE="SD" >Sudan
                      <OPTION VALUE="SR" >Suriname
                      <OPTION VALUE="SJ" >Svalbard and Jan Mayen
                      <OPTION VALUE="SZ" >Swaziland
                      <OPTION VALUE="SE" >Sweden
                      <OPTION VALUE="CH" >Switzerland
                      <OPTION VALUE="SY" >Syria
                      <OPTION VALUE="TW" >Taiwan
                      <OPTION VALUE="TJ" >Tajikistan
                      <OPTION VALUE="TZ" >Tanzania
                      <OPTION VALUE="TH" >Thailand
                      <OPTION VALUE="TG" >Togo
                      <OPTION VALUE="TK" >Tokelau
                      <OPTION VALUE="TO" >Tonga
                      <OPTION VALUE="TT" >Trinidad & Tobago
                      <OPTION VALUE="TN" >Tunisia
                      <OPTION VALUE="TR" >Turkey
                      <OPTION VALUE="TM" >Turkmenistan
                      <OPTION VALUE="TC" >Turks and Caicos Islands
                      <OPTION VALUE="TV" >Tuvalu
                      <OPTION VALUE="UG" >Uganda
                      <OPTION VALUE="UA" >Ukraine
                      <OPTION VALUE="AE" >United Arab Emirates
                      <OPTION VALUE="GB" >United Kingdom
                      <OPTION VALUE="US" >United States
                      <OPTION VALUE="UM" >United States Oceania
                      <OPTION VALUE="UY" >Uruguay
                      <OPTION VALUE="UZ" >Uzbekistan
                      <OPTION VALUE="VU" >Vanuatu
                      <OPTION VALUE="VA" >Vatican
                      <OPTION VALUE="VE" >Venezuela
                      <OPTION VALUE="VN" >Vietnam
                      <OPTION VALUE="VG" >Virgin Islands, British
                      <OPTION VALUE="VI" >Virgin Islands, U.S.
                      <OPTION VALUE="WF" >Wallis and Futuna
                      <OPTION VALUE="EH" >Western Sahara
                      <OPTION VALUE="YE" >Yemen
                      <OPTION VALUE="ZM" >Zambia
                      <OPTION VALUE="ZW" >Zimbabwe
              </select>
         
      </form>
      <?php
      
    }?>
    As you can see i called the fucntion which had another form tag in it.
    thanx again.
    Wonders shall never end!


Bookmarks

Posting Permissions

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