Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Retrieving multiple selections WRB 2.1
Environment:
NT 4.0
WRB 2.1
Oracle 7.3
IIS 3.0
Hi,
I have a list box on an HTML page where users can make multiple selections. I am developing
Custom Cartridge in C. I am using the WRB API to access the values of HTML controls on the screen.
Does anyone know how to access/get multiple selections made from a list box?
The HTML code is given below:
<SELECT NAME="ContentDomains" MULTIPLE>
<OPTION VALUE="Option1">Option 1</OPTION>
<OPTION VALUE="Option2">Option 2</OPTION>
<OPTION VALUE="Option3">Option 3</OPTION>
</SELECT></TD>
For single selections I use the following code to get the selection:
...
WRBEntry *pWRBEntry; char wbuf[1024]; int len; char *szContentDomains=NULL;
// get data from form
WRBGetParsedContent(WRBCtx, &pWRBEntry, &nEntries);
szContentDomains = WRBGetNamedEntry("ContentDomains", pWRBEntry,
nEntries);
...
Any help would be greatly appreciated.
Badri
Badri513_at_Hotmail.com
Have a nice day. Received on Sat Dec 13 1997 - 00:00:00 CST
![]() |
![]() |