The HTML markup for a checkbox logical input looks very similar to that for radio buttons. The only structural difference is the use of TYPE="checkbox" . Multiple selections are allowed however:
The HTML to produce the above is:
<P> What operating systems have you used?<BR> <INPUT type="checkbox" name="os_used" value="mac">Macintosh<BR> <INPUT type="checkbox" name="os_used" value="dos">DOS<BR> <INPUT type="checkbox" name="os_used" value="win">Windows<BR> <INPUT type="checkbox" name="os_used" value="win95">Windows95<BR> <INPUT type="checkbox" name="os_used" value="os2">OS/2<BR> <INPUT type="checkbox" name="os_used" value="unix">UNIX<BR> </P>
how do multiple responses get transmitted if there's only one value allowed for a given name?
Let's assume that the user checks the boxes for Macintosh, DOS, and Windows95.
mac|dos|win95, where the
|represents a separator (usually a null character).