Re: QuickForm: Event on Element to change other elements

From: Date: Wed, 09 Jun 2004 10:34:11 +0000
Subject: Re: QuickForm: Event on Element to change other elements
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13033@lists.php.net to get a copy of this message
Marco Schuler wrote: >Hi > >I have a form with some selct-boxes. What I want is tte following: the >user should only be alloewd to select from one select-box. So if for >example some items in a particular select-box are selected, they should >be unselected when the user selects items from another select-box. Is >there a way to do that in QuickForm or do I need to engage some >javascript therefore? > >Any hints and tips are appreciated! You will have to write some javascript I am afraid and set a javascript event on your selects. Bertrand Mansion Mamasam

« previous php.pear.general (#13033) next »