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

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