[whatwg] Forms: Submit only changed inputs

Ric Hardacre whatwg at cycloid.f9.co.uk
Thu Feb 9 01:25:48 PST 2006

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.


More information about the whatwg mailing list