AnnieKay Posted February 20, 2008 Share Posted February 20, 2008 Hi I'm wondering how to pre-check one of my check boxes (from a list of about 5 checkboxes) and can't seem to find out how to make the form display with one of the boxes already checked... This seems so easy, but I just can't find it! Thank you all for your help in advance Annie Quote Link to comment Share on other sites More sharing options...
AndyB Posted February 20, 2008 Share Posted February 20, 2008 <form .....> <input type="checkbox" name=[] value="1"/> <input type="checkbox" name=[] value="2" checked="checked"/> <input type="checkbox" name=[] value="3"/> <input type="checkbox" name=[] value="4"/> <input type="checkbox" name=[] value="5"/> <input type="submit" name="submit" value="GO"/> </form> Quote Link to comment Share on other sites More sharing options...
AnnieKay Posted February 20, 2008 Author Share Posted February 20, 2008 I knew it was something simple - thanks so much AndyB! Annie Quote Link to comment 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.