Checking a checkbox using the value

Michael Hinds <[email protected]> Tue, 27 Jan 2004 18:55:51 -0000
Newsgroups gmane.comp.web.tclwebtest
Message-ID <203973A08DFE0C469FFEC357F2EEC7CD125872@QFS01NT>
I'm trying to select a checkbox using its value. The HTML is something like
this:

<input type=checkbox  name=enable value="some-identifier-here">
<input type=checkbox  name=enable value="something-else-here">
<input type=checkbox  name=enable value="and-another">

I thought I could use:

field check ~v general-comments

but it throws the field not found exception. The following works, but isn't
very useful to me:

field check ~n enable

If anyone knows what I'm doing wrong off the top of their head, I'd
appreciate the help.

Thanks,

Michael




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn