Re: Checking a checkbox using the value
"Peter Marklund" <peter-ZGY8ohtN/[email protected]> Tue, 27 Jan 2004 20:11:57 +0100
| Newsgroups | gmane.comp.web.tclwebtest |
|---|---|
| Message-ID | <[email protected]> |
Hey Michael! I'm not 100% sure you can use this for checkboxes, but I think you can. Here it is: field select2 ~v value Look at the file http://cvs.openacs.org/cvs/openacs-4/contrib/packages/simulation/test/simulation-test-procs.tcl?view=auto&rev=1.13 for examples of this. Peter On Tue, 27 Jan 2004 18:55:51 -0000, "Michael Hinds" <[email protected]> said: > 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 > _______________________________________________ > Tclwebtest-general mailing list > Tclwebtest-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/tclwebtest-general Collaboraid - Open Source Web Collaboration Software http://www.collaboraid.biz ------------------------------------------------------- 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