OWS 2.1 DYNAMIC FORM

From: Douglas Doyer <Douglas.Doyer_at_sit.ulaval.ca>
Date: Fri, 05 Jun 1998 14:49:14 GMT
Message-ID: <3578077E.1B5AC75_at_sit.ulaval.ca>



Hi,

     I have create a dynamic form which have a X group of radio button (one group for each question) and for each of them we have two radio button (one for YES and a another for NO):

The form looks like this:

PROCEDURE MAKE_FORM


Question 1 YES___

                    NO ___

Question 2   YES ____
                     NO _____

……

SUBMIT


How can I get the result of the form? I don't know how much parameter I'm gonna have and what are there name. Does anyone have a solution for oracle web server?


SOLUTION IN ASP


This is the solution with Active Server Page of Microsoft:

<% For Each x In Request.Form %>
 <% if (x <> "Submit") and (x <> "Question1") and (x <> "Question2") and (x <> "Question5") then %>
 …..
 …..
 <% End If %>
<% Next %>

……..?NAME=VALUE&NAME=VALUE…… Request.Form get the NAME and
Request.Form(x) get the value of the NAME

--

#----------------------------------------------------------#
Douglas Doyer mailto:Douglas.Doyer_at_sit.ulaval.ca
Analyste informatique

Service de l'informatique et des télécommunications
Université Laval, Pavillon Casault, Local 2426
Québec,Qc, Canada, GIK 7P4
Bureau   : (418) 656-2131 poste 4226
Télécopie: (418) 656-7305
#----------------------------------------------------------#
Received on Fri Jun 05 1998 - 16:49:14 CEST

Original text of this message