Re: [OS-webwork] texfield and textarea tags

2002-11-17 Thread Joseph Ottinger
On Sun, 17 Nov 2002, boxed wrote: > > By default the value attribute is pulled from the name - which is I think > > the behaviour you want. > > Oh damn, you're right. I missed that. Specifying only name does seem like > the way that would be closest to the principle of least surprise when I > thin

Re: [OS-webwork] texfield and textarea tags

2002-11-17 Thread boxed
> By default the value attribute is pulled from the name - which is I think > the behaviour you want. Oh damn, you're right. I missed that. Specifying only name does seem like the way that would be closest to the principle of least surprise when I think about it yea. I guess I was too used to the

Re: [OS-webwork] texfield and textarea tags

2002-11-17 Thread Mike Cannon-Brookes
I almost never use the value attribute as it is not needed? By default the value attribute is pulled from the name - which is I think the behaviour you want. Label is almost always different so should not have a default. Cheers, Mike On 18/11/02 1:02 AM, "Scott Farquhar" ([EMAIL PROTECTED]) pen

Re: [OS-webwork] texfield and textarea tags

2002-11-17 Thread Scott Farquhar
If you are going to do this - do it to *all* the UI tags. Having different behaviour for some of the tags is confusing IMHO. I almost always have a different label though (at least changing the case). Cheers, Scott boxed wrote: It struck me while writing value="foo" /> that the name should de

Re: [OS-webwork] texfield and textarea tags

2002-11-17 Thread Francisco Hernandez
that sounds reasonabe to me aswell, just document it and save it for 1.3 if enough people think its usefull too. - Original Message - From: "boxed" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, November 16, 2002 3:44 AM Subject: [OS-webwork] texfield an

[OS-webwork] texfield and textarea tags

2002-11-16 Thread boxed
It struck me while writing that the name should default to the name of the value and the label should default to the name or something like that. I almost never write different names for value, name and label, and if I did I'd probably just change the label. This goes for at least textarea too. /