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: <bonanos_at_yahoo.com>
Date: Thu, 16 Apr 1998 06:50:22 -0600
Message-ID: <6h4r9u$qo6$1@nnrp1.dejanews.com>

> 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?

Hi Ak

The easiest way to avoid radio button headaches is to use comboboxes instead.

-----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/ Now offering spam-free web-based newsreading Received on Thu Apr 16 1998 - 07:50:22 CDT

Original text of this message

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