Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Webserver: How to cater for dynamic sets of radio buttons?

Re: Webserver: How to cater for dynamic sets of radio buttons?

From: B. Lelangue <lelangue_at_sia.ucl.ac.be>
Date: Thu, 16 Apr 1998 09:12:08 +0200
Message-ID: <3535AF48.18F7@sia.ucl.ac.be>


I don't have already try this but
I'm working with PL/SQL packages that generate HTML pages; I'm have the same problem but with checkboxes. The user checks the checkbox when he wants that one of his publications (stocked in a table) appears in his Curriculum. I don't know how many checkboxes are produced by the cursor and , of course, how many checkboxes will be checked.

I asked how to manage this in the newsgroup and the answer was : 'use PL/SQL table'. I have studied the PL/SQL tables in the manual and I think I can soluce my problem with a PL/SQL table.

I just can say : "Read your manual at the PL/SQL Table chapter".

HTH, and, please, mail me if it work (or don't ;)

PS: sorry for my (probably) bad english...

>
> Hi,
>
> We have a table that contains a number of entries, each corresponding to a
> question. I need to create an HTML page that lists the questions, and
> provides some radio buttons for each question to allow a response to be
> recorded.
>
> This is proving problematic for a number of reasons.
>
> 1. If I define all the radio buttons with the same name, and end up with
> (say) 5 lots of 2 radio buttons for five questions, then only one out of 10
> buttons can be ON at one time. This isn't what I want, so I need to
> distinguish between the 5 groups of buttons.
>
> 2. If I DO distinguish between the 5 lots of buttons (by, say, question
> number), then how do I cater for it in my program when I don't know how many
> groups of buttons I will be dealing with?
>
> At the moment, I'm facing catering for a fixed upper limit of say 200
> groups. This means that my program will be full of huge lists of variables
> and lots of IF...THEN...ELSEs - not an elegant sight.
>
> Could someone suggest any possible alternatives?
>
> Thanx
>
> -ak
Received on Thu Apr 16 1998 - 02:12:08 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US