HighDots Forums  

Array value for name in input checkbox tags

alt.html.tags alt.html.tags


Discuss Array value for name in input checkbox tags in the alt.html.tags forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Micah
 
Posts: n/a

Default Array value for name in input checkbox tags - 08-29-2008 , 03:27 PM






Is this walid according to the HTML4.01 and XHTML 1.1 specs?

<input type="checkbox" name="myfield[mycount][] value="1" />

Thanks.

Reply With Quote
  #2  
Old   
Adrienne Boswell
 
Posts: n/a

Default Re: Array value for name in input checkbox tags - 08-29-2008 , 04:55 PM






Gazing into my crystal ball I observed Micah <micahjg26 (AT) netscape (DOT) net>
writing in news:48b84e5b$0$30874$9a6e19ea (AT) news (DOT) newshosting.com:

Quote:
Is this walid according to the HTML4.01 and XHTML 1.1 specs?

input type="checkbox" name="myfield[mycount][] value="1" /

Thanks.

Did you check it? If you don't have a URL on a public server, you can use
Opera to validate local files, or you can upload the text to the W3 server.

Of course, you will find that the errors will come up with your syntax
above, because you forgot to close the name attribute.


--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.