Re: OAS and Checkbox muliple input

From: Niall McPhillips <nmcp_at_s-and-a.com>
Date: Fri, 2 Feb 2001 11:33:49 +0100
Message-ID: <95e2ek$kep$2_at_unlisys.unlisys.net>


Hi Pedro,

You need to declare the parameter in the procedure receiving the form as an array (try "owa util.ident array"). You will then have one array entry for each instance of the parameter passed.

Niall.                          

Niall McPhillips
Stephenson and Associates
Vernier, Geneva
Switzerland.
  "Pedro Martel" <Pedro.Martel_at_cern.ch> wrote in message news:3A79ACD0.91BCC073_at_cern.ch...
  Good evening.
  I need to know how to "recover" all the checkboxes which have been checked by the user, and not only the 1st. I've checked OTN, HTML specs, etc and no answer...
  The source is something like this
  ...
<INPUT TYPE="checkbox" NAME="p 1" VALUE="HCL">
<INPUT TYPE="checkbox" NAME="p 1" VALUE="HCM">
<INPUT TYPE="checkbox" NAME="p 1" VALUE="HCN">
  ...
  and when the user checks the 3 boxes, I only recover "HCL" on my parameter p 1.

  Any ideas how I could fetch the others? I can't make an input for each line, as I don't know how many lines it could grow to, and I don't want to write a procedure with 100 parameters :-|

  Thanks a lot in advance
  Pedro
  --

  Pedro Martel        |  Tel: +41-22-7674372 
  CERN - EST          |  Fax: +41-22-7678890 
                      |  Pedro.Martel_at_cern.ch 
    


--
Received on Fri Feb 02 2001 - 11:33:49 CET

Original text of this message