[whatwg] Publishing another Web Forms 2 Call For Comments soon

On Sun, 23 Jan 2005, [ISO-8859-1] Olav Junker Kj?r wrote:
> 
> I'm not sure how often you would want to submit data from only one row, 
> but if you want to do this, you can filter the data on the server side. 
> If all field names (including the submit buttons) contains an id which 
> identifies the row uniquely, you can process the data from the row in 
> which the submit button was pressed, and ignore the rest.

Yes, or, you could use a different form for each row.


> Btw. the other example in section 2.8 could be rewritten somewhat simpler,
> using separate action attributes on the submit buttons:
> 
> <form action="test.cgi">
>  <input type="text" name="q">
>  <input type="submit" name="t" value="Test">
>  <input type="submit" action="google.cgi" value="Google">
>  <input type="submit" action="yahoo.cgi" value="Yahoo">
> </form>

Yes, simple examples can often be rewritten in other ways. :-)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Thursday, 27 January 2005 05:08:53 UTC