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
> 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
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
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
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
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.
/