W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2006

[whatwg] Forms: Submit only changed inputs

From: Ric Hardacre <whatwg@cycloid.f9.co.uk>
Date: Thu, 09 Feb 2006 09:25:48 +0000
Message-ID: <43EB0A9C.5020205@cycloid.f9.co.uk>


dolphinling wrote:
> Ric Hardacre wrote:
>> ...
>> only send input elements that have changed (i.e. are different to the 
>> "reset" state of the form). 
> 
> This has been proposed several times and is listed in the "For Future 
> Versions" comments (view the source) at the bottom of the WF2 draft.

aha, stuff hidden in the html source, will read up on it

[snip: my example]
> ...and when the user changes "jane doe" to "janet doe", you get
> 
>   001_name="janet doe"
> 
> ...? Then all you need to do is update the 001_name.

ah because my 001 hidden field pointed to the record id of "123" , so 
actually you are kinda right i could have called it "123_name" instead, 
but as it was i was just trying to quickly bash together an example.

aside from that it may be handy to include the hidden fields as they 
dont strictly count as "inputs" in the user-editable sense so wouldnt 
fit into the definition of "only user inputs that have changed", though 
we might want to be able to flag inputs that are always sent too, but 
i'm wary of proposing increasing amounts of markup.

ric
Received on Thursday, 9 February 2006 01:25:48 UTC

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