W3C home > Mailing lists > Public > public-html@w3.org > April 2007

brainstorm: alternative form controls

From: Dmitry Turin <html60@narod.ru>
Date: Mon, 9 Apr 2007 13:07:45 +0300
Message-ID: <15918754203.20070409130745@narod.ru>
To: public-html@w3.org

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

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:42 UTC