W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2005

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

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 27 Jan 2005 13:08:53 +0000 (UTC)
Message-ID: <Pine.LNX.4.61.0501271306400.12500@dhalsim.dreamhost.com>
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

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:21 UTC