HiFi Tubes wrote:
Here's the solution I came up with for checking the columns to varify only
one in a column is selected (without using JavaScript) in a matrix of radio
buttons consisting of 4 columns and 4 rows. Doing this was complicated by
the fact that some rows did not have to be answered.
Barry wrote:
Now time to go back into an array: $colorarray = explode ( ,
$colorstring);
Next I count how many times particular values show up in an array:
$colorvalues = array_count_values ($colorarray);
*Note: This gives me an array with how many times each value shows
up.
So if the user
I am rather amused by the fact that the experts were too busy telling me
what to do (even when I said JavaScript was not to be used)instead of
actually helping me learn and come up with a solution. But, then, I suppose
this problem was too simple for them. I was tempted to not post my
Here's the solution I came up with for checking the columns to varify only
one in a column is selected (without using JavaScript) in a matrix of radio
buttons consisting of 4 columns and 4 rows. Doing this was complicated by
the fact that some rows did not have to be answered. The radio buttons
On Mon, January 16, 2006 9:16 pm, HiFi Tubes wrote:
I'm kind of a newbie so speak sowly.
I've got a problem with validating radio buttons that seems to be
harder
than I think to solve. I've got ten items set up like this:
Green: input type=Radio name=color1 value=1 / input
On Tue, January 17, 2006 9:45 am, John Nichel wrote:
Huh? Maybe I'm just not awake this morning and not understanding what
you're trying to explain, but if you're using *radio* buttons, only
*one* of the same name can be checked at any give time. ie:
input type=radio name=color value=1 /
On 1/19/06, Richard Lynch [EMAIL PROTECTED] wrote:
On Mon, January 16, 2006 9:16 pm, HiFi Tubes wrote:
I'm kind of a newbie so speak sowly.
I've got a problem with validating radio buttons that seems to be
harder
than I think to solve. I've got ten items set up like this:
Tuesday, January 17, 2006, 11:33:18 PM, HiFi Tubes wrote:
Thanks to all of you who responded. Yes, I am doing the grid --basically
100 radio buttons, that is ten comments that must be ranked from 1 to 10.
Ugh. If you absolutely can't use Javascript, here's an idea:
Present this question by
HiFi:
Thanks so much Tedd for the JavaScript. I will keep that snippet for use
and study to improve my JS skills.
Unfortunately I should have said that I need to stay away from JS in case
the users have shut that down in their browsers. I know I can detect that
and have them turn it on but
How do I assure that only one color is ranked at any one value?
I hope my question makes sense. Any help will be appreciated.
Thanks in advance.
HiFi Tubes
HiFi:
I understand your problem, you don't want the user to pick a color
such that it ranks the same as another color (i.e., only one
tedd wrote:
How do I assure that only one color is ranked at any one value?
I hope my question makes sense. Any help will be appreciated.
Thanks in advance.
HiFi Tubes
HiFi:
I understand your problem, you don't want the user to pick a color such
that it ranks the same as another color
On Tue, 17 Jan 2006 10:45:01 -0500
John Nichel [EMAIL PROTECTED] wrote:
Huh? Maybe I'm just not awake this morning and not understanding
what you're trying to explain, but if you're using *radio* buttons,
only *one* of the same name can be checked at any give time. ie:
input type=radio
Austin Denyer wrote:
On Tue, 17 Jan 2006 10:45:01 -0500
John Nichel [EMAIL PROTECTED] wrote:
Huh? Maybe I'm just not awake this morning and not understanding
what you're trying to explain, but if you're using *radio* buttons,
only *one* of the same name can be checked at any give time. ie:
On Tue, 17 Jan 2006 10:45:01 -0500
John Nichel [EMAIL PROTECTED] wrote:
Huh? Maybe I'm just not awake this morning and not understanding
what you're trying to explain, but if you're using *radio* buttons,
only *one* of the same name can be checked at any give time. ie:
input type=radio
Thanks to all of you who responded. Yes, I am doing the grid --basically
100 radio buttons, that is ten comments that must be ranked from 1 to 10.
Thanks so much Tedd for the JavaScript. I will keep that snippet for use
and study to improve my JS skills.
Unfortunately I should have said that
Oops I should have said Austin not John below. Austin, could you or someone
point my in the direction of how to do this in PHP?
Thanks so much.
HiFi Tubes
On 1/17/06, HiFi Tubes [EMAIL PROTECTED] wrote:
Thanks to all of you who responded. Yes, I am doing the grid --basically
100 radio
I'm kind of a newbie so speak sowly.
I've got a problem with validating radio buttons that seems to be harder
than I think to solve. I've got ten items set up like this:
Green: input type=Radio name=color1 value=1 / input type=Radio
name=color1 value=2 / input type=Radio name=color1
17 matches
Mail list logo