mindapolis Posted November 21, 2011 Share Posted November 21, 2011 Why doesn't the validator like this section of code? <td> State: <br /> <select name = "state"> <option selected value ="Please choose a state"/> Please choose a state</option> <option value = "AL" />AL</option> <option value = "AK" />AK</option> <option value = "AR" />AR</option> <option value = "AZ" />AZ</option> <option value = "CA" />CA</option> <option value = "CO" />CO</option> <option value = "CT" />CT</option> <option value = "DE" />DE</option> <option value = "DC" />DC</option> <option value = "FL" />FL</option> <option value = "GA" />GA</option> <option value = "HI" />HI</option> <option value = "IA" />IA</option> <option value = "ID" />ID</option> <option value = "IL" />IL</option> <option value = "IN" />IN</option> <option value = "KS" />KS</option> <option value = "KY" />KY</option> <option value = "LA" />LA</option> <option value = "MA" />MA</option> <option value = "ME" />ME</option> <option value = "MD" />MD</option> <option value = "MI" />MI</option> <option value = "MN" />MN</option> <option value = "MO" />MO</option> <option value = "MS" />MS</option> <option value = "MT" />MT</option> <option value = "NC" />NC</option> <option value = "ND" />ND</option> <option value = "NE" />NE</option> <option value = "NH" />NH</option> <option value = "NJ" />NJ</option> <option value = "NM" />NM</option> <option value = "OH" />OH</option> <option value = "OK" />OK</option> <option value = "OR" />OR</option> <option value = "PA" />PA</option> <option value = "RI" />RI</option> <option value = "SC" />SC</option> <option value = "SD" />SD</option> <option value = "TN" />TN</option> <option value = "TX" />TX</option> <option value = "UT" />UT</option> <option value = "VA" />VA</option> <option value = "VT" />VT</option> <option value = "WA" />WA</option> <option value = "WI" />WI</option> <option value = "WV" />WV</option> <option value = "WY" />WY</option> </select> Quote Link to comment https://forums.phpfreaks.com/topic/251555-validator-question/ Share on other sites More sharing options...
Pikachu2000 Posted November 21, 2011 Share Posted November 21, 2011 What was the error? Quote Link to comment https://forums.phpfreaks.com/topic/251555-validator-question/#findComment-1290068 Share on other sites More sharing options...
mindapolis Posted November 21, 2011 Author Share Posted November 21, 2011 I just figured out. It didn't like the / Quote Link to comment https://forums.phpfreaks.com/topic/251555-validator-question/#findComment-1290077 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.