Multiple selection boxes

"Alverth, Daniel C" <[email protected]> Fri, 8 Jul 2005 11:15:23 -0400
Newsgroups gmane.comp.gcc.cgicc.general
Message-ID <10629BDA2ED1D74D891894DE85B449338095D5@nmr001oldmsx05.enterprisenet.org>
Hello,
   My name is Dan Alverth and I'm using Cgicc.  I have a dilemma.

   I construct a select object as follows:
      cgicc::select( ).set("name","Control Variables
Box").set("size","10").set("multiple");

   I get the submitted form data as follows:
      cgicc::Cgicc.getElement("Control Variables Box") -> getValue( );

   But this only returns a single string (The first selected entry
only).
   I lose all the other selections.
   If the user selected 5 entries, getValue( ) only returns the first
selection.

   Is there a way to correct this problem?

   Thank you very much.

Dan Alverth
Associate Programmer
Nielsen Media Research
150 N. Martingale rd.
Schaumburg, IL 60173-2076

_______________________________________________
help-cgicc mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-cgicc