rest/forms-brainstorming

From Microformats Wiki
Revision as of 21:01, 11 October 2005 by DrErnie (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Forms Brainstorming

This page collects ideas for how to best encode

Best design pattern so far

<FORM action="http://somesite.com/prog/adduser" method="post">
<table class="form">
<tr>
 <td><LABEL for="firstname">First name:</LABEL></td>
 <td><INPUT type="text" id="firstname"></td>
</tr><tr>
 <td><LABEL for="lastname">Last name:</LABEL></td>
 <td><INPUT type="text" id="lastname"></td>
</tr><tr>
 <td><LABEL for="email">Email:</LABEL></td>
 <td><INPUT type="text" id="email"></td>
</tr><tr>
 <td><LABEL for="sex">Sex:</LABEL></td>
 <td>
   <INPUT type="radio" name="sex" value="Male">Male </input>
   <INPUT type="radio" name="sex" value="Female">Female </input>
 </td>
</tr><tr>
 <td><LABEL for="age">Age:</LABEL></td>
 <td><select>
    <option val=0>< 18 </option>
    <option val=18>18-64 </option>
    <option val=65>65+ </option>
 </td></select>
</tr>
</table>
<INPUT type="submit" value="Send">  <INPUT type="reset">
</FORM>