Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Oracle Web app...passing multiple parameters from a multi-select to package from html form...
Hi All,
Got a bit of a puzzler here, and can't figure how to do this...would appreciate any help or suggestions.
Ok...got a package that presents a HTMl page. Page contains a HTML Form. On the form are a couple of textfields...no problem there. But, I have one large select field with multiple options...AND I have it set to allow the user to select multiple values from it. This is where my problem comes in.
On form submit, I want to sent to another package's procedure..but, how do I work with parameter list? No problem with recieving parameters from the textfields...I know the name and that I'm passing one value. For example, I'll have a parameter with the textfield name of start_date and its value, I'm using the GET method so, in the url I'm passing....I'll get start_date=9-18-99
However, with the multiple select, I'll get multiple values for the same parameter. So, if the name of the field is equipment, I'll get something like equipment=computer&equipment=plasmatv&equipment=phone and so on...
I won't know how many elements for this parameter, it is based on user selection. So, any ideas how to set the receiving procedure to accept this information....and how to send it? I'm not familiar with how the PUT method works or sends its info...is this a way? Was thinking of maybe trying to move the fields somehow into a hidden form...manipulate it with javascript into maybe some kind of PL/SQL table or something?? I'd like to avoid javascript as much as possible.
TIA, Kelly
kgrigg_at_diamonddata.com Received on Fri Feb 15 2002 - 10:59:58 CST
![]() |
![]() |