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

[whatwg] Any way to submit only those parts of a form that havechanged?

From: dolphinling <dolphinling@myrealbox.com>
Date: Thu, 06 Jan 2005 17:05:02 -0500
Message-ID: <41DDB60E.1020202@myrealbox.com>
Ian Hickson wrote:
> On Fri, 31 Dec 2004, dolphinling wrote:
> 
>>Ian Hickson wrote:
>>
>>>On Mon, 13 Dec 2004, dolphinling wrote:
>>>
>>>
>>>>As far as I can tell, for textareas (and input type='text', etc.) 
>>>>The value of '' (i.e., empty) is submitted normally, so that 
>>>>wouldn't be a problem.
>>>>
>>>>For an easy workaround for the checkbox problem, input 
>>>>type='checkbox', 'radio', and select (any others?) could just always 
>>>>be submitted.
>>>
>>>That would break existing content, though.
>>
>>How would it? checkbox/radio/select are always submitted now, so they 
>>would act the same as they do currently.
> 
> 
> No, they are only submitted when selected.
> 

Er, yeah, that's what I meant. Always submit the selected options of 
those?i.e. leave them as they are?and only allow other controls to have 
this new ability. That way (afaict) nothing would break.

-- 
dolphinling
<http://livejournal.com/users/dolphinling>
<http://dolphinling.net> coming soon?
Received on Thursday, 6 January 2005 14:05:02 UTC

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