form inside tabular data

Hello,

I am a web author, and I am decide to raise a problem for the
examination of this mail list. I understand the purpose of this mail
list is to discuss changes on the standards, and my problem may need
that.


Problem:

you have lots of tabular data, that use <table> <tr> <td>.
every line on the table is a form

<tr>
<form><td><input type="text" name="price_21" value="5"
/></td><td><input type="submit" value="Change price for product 21"
/></td></form>
</tr>

Ouch!

<tr>
<td><form><input type="text" name="price_21" value="5"
/></td><td><input type="submit" value="Change price for product 21"
/></form></td>
</tr>

Ouch!


Proposed solution:
<tr>
<td><input type="text" form="product_21" name="price_21" value="5"
/></td><td><input type="submit" form="product_21" value="Change price
for product 21" /></td>
</tr>

...

<form id="producto_21"></form>

what?: it take a undefined state ( input widgets living outside form
blocks ) and add a key to attach these orphan widgets to a existing
form.

If theres a prefered solution available, whitin the current standards,
It will be much preferable, but is unknom to me, and to others web
authors asked about the topic.

Theres a alternate solution, that  use javascript,  but I prefered a
html-only solution.


-- 
--
ℱin del ℳensaje.

Received on Monday, 18 May 2009 10:21:09 UTC