If the
checkboxes are not selected, nothing will be sent for them.... You could name
the check boxes and text field the same thing and you'd get a String[] with
either 1 or 2 things in it (1 if no checkbox)... At least I think
so...
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 02, 2003 10:07 AM
To: [EMAIL PROTECTED]
Subject: [OS-webwork] Checkbox grouping?Hi all,
I gotta create a form like this:
[ ] Foo
[ ] Bar
[ ] Baz
[ ] Other: [ ]Being kind of a WW2 newbie, what would be the best way to do that? It'd be better if I could keep the "other" text filled in the textbox in the same place on the model (and thus, the model has a String property).
Any ideas gladly appreciated! :)
[]'s
-cv
