Re: [tclwebtest] Checking a checkbox using the value
Status: Abandoned
Brought to you by:
tils
From: Peter M. <pe...@co...> - 2004-01-27 19:12:26
|
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" <Mic...@qu...> 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 > Tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tclwebtest-general Collaboraid - Open Source Web Collaboration Software http://www.collaboraid.biz |