PHP Classes
Icontem

Class: Linked Select


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Setec Astronomy  >  Linked Select  >  Download  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Linked Select Support forum
Base name: clinkedselect
Description: Create dynamically linked lists with select inputs
Related top rated classes: , , ,
Version: -
Required PHP version: 3
License: GNU General Public License (GPL)
All time users: 2569 users
All time rank: 958
Week users: 2 users
Week rank: 3053
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of Setec Astronomy
Name: Setec Astronomy <e-mail contact>
Published packages: 20 Browse this author's classes Browse this author's classes
Country: Italy Italy - PHP jobs in Italy
Home page: http://setecastronomy.redirectme.net/
Age: ???
All time rank: 11
Week rank: 85

Innovation Award

PHP Programming Innovation award nominee
March 2004
Number 7
Sometimes it is necessary to let the users of a Web application make several choices of multiple options, each choice depending on the previous.

Choices of multiple options can be implemented in Web applications with form select inputs. However, if you want to make a second choice control that depends on what was chosen in the first, you need to update the second select input with a different set of options depending on the first option.

The solution to implement this kind of dynamic control of options provided by this class is to generate the necessary Javascript that makes the second select input load a new set of options when the first select input change its currently selected option.

This type of user interface manipulation could be implemented without the need to resort to Javascript, by using additional buttons that the user would have to use every time he changes the first select input, so the server could load an update form with a different set of options in the second select input. However this approach would make the forms less usable than when using the solution provided by this class.

Manuel Lemos

Groups

Group folder image HTML HTML generation and processing View top rated classes

Detailed description

This class is meant to create dynamically linked list with form select inputs that work as controls for choosing master and detail options.

The class takes the definitions of lists options for primary select input and the corresponding options that should be made available in the secondary input is selected.

The class generates the HTML for defining both the form input as well the necessary Javascript code to dynamically switch the set options of the secondary input depending on the option of the primary input that is selected.

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (81.8%)
Sufficient (72.7%)
-
Sufficient (70.5%)
-
-
Not sure (55.2%)
1000
Month:
Not yet rated by the users

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

File Role Description
Plain text file CLinkedSelect.php Class Main class
Plain text file sample.php Example Example script
Download all files: clinkedselect.tar.gz clinkedselect.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products