Enabling radio boxes with a certain criteria

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ellicoga
Forum Newbie
Posts: 4
Joined: Tue Mar 11, 2008 7:21 pm

Enabling radio boxes with a certain criteria

Post by ellicoga »

I am creating a voting system in php.

I want the user to be able to select the first preference with the rest of the radio button disabled. Once the user has selected their preference, the second preference should be enabled except the candidate they have chose in the first radio box. And so on....

Is there anyway to do this?
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Enabling radio boxes with a certain criteria

Post by Christopher »

Javascript. I'd recommend Prototype, jQuery, mootools, etc. to make it easy on yourself.
(#10850)
Post Reply