Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
|
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 22nd, 2004, 01:14 PM
Registered User
 
Join Date: Apr 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Radio button activates a selection box in the page

Hi there,

I read one of your article about "Form changes with radio button selection". My question is something regarding to that. I have a page where i have to give the user 3 options (like school, major, and gened req) to choose. I want to put 3 radio buttons for them to choose one of these options. Until they choose one option i want the selection box to be visible but not active.

And when they choose the school radio button, i want only the school selection list to be active and others to be visible but not allow the user to click or access it.

Hope i was clear in explaining what i want. I would appreciate if someone can help me out here. Since this is work related, i would appreciate if anyone can help me ASAP.


Thanks




 
Old April 22nd, 2004, 01:41 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

The easiest way to do this requires DHTML. I would post this in the JavaScript section. Using PHP would be a much more difficult approach in my opinion.

HTH,

Snib

<><





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to automate selection of radio button using vb satish_k VB.NET 11 December 14th, 2006 11:28 AM
Form changes with radio button selection jekel13 PHP How-To 16 February 17th, 2006 04:56 PM
radio button, select box, redirect page ismnanie Pro PHP 1 March 17th, 2005 08:20 AM
Display based on radio button selection Mekala Javascript 4 August 5th, 2004 11:36 PM
Radio Button activates a selection box in the page rnerilla JSP Basics 0 April 23rd, 2004 12:14 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.