brainstorm: alternative form controls

Let's consider how to change visible (existing) html-elements by radio-button
(new tag MULTI is necessary to group elements).
Let's consider example for rows of table:
radio-button with name "unimportant" show corresponding group of widgets.

<table>
 <multi name="school">
 <tr>
  <th> parent's surname </th>
  <td> <input type="text" name="family"> </td>
 </tr>
 <tr>
  <th> home phone </th>
  <td> <input type="text" name="phone"> </td>
 </tr>
 </multi>

 <multi name="work">
 <tr>
  <th> profession </th>
  <td> <input type="text" name="profession"> </td>
 </tr>
 <tr>
  <th> date of graduating </th>
  <td> <input type="text" name="graduating"> </td>
 </tr>
 <tr>
  <th> length of service </th>
  <td> <input type="text" name="experience"> </td>
 </tr>
 </multi>
</table>
You are:<br>
<input press="stud" type="radio name=unimportant">schoolboy<br>
<input press="work" type="radio name=unimportant">worker<br>

What are you think about this idea ?

Received on Monday, 9 April 2007 10:06:07 UTC