PHP Classes
elePHPant
Icontem

AJAXed list boxes: Generate AJAXed linked select inputs

Recommend this page to a friend!
  Info   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2009-04-22 (7 years ago) RSS 2.0 feedStarStarStar 41%Total: 3,565 This week: 2All time: 909 This week: 506Up
Version License PHP version Categories
lsb 0.5GNU General Publi...4.1.0HTML, AJAX
Description Author

This package can be used to generate Web form with linked select inputs.
It generates select inputs that switch their group of options dynamically when the linked select input value is changed.
The class uses AJAX to retrieve the new group of options from the server, so it can retrieve the option values from a database on the server side.
It can link an unlimited number of select inputs.

In the same file sc_classes.php there is an other class. Called sc_form_elements. Used partialy from sc_ajax_select_boxes. It is a nice form helper class. Adds select boxes, radio groups and check box groups. It is usual to have options on db and have to populate with them select boxes, or show a list of radio buttons or a list of checkboxes. The routine is to query the database and loop throu the selected rows and add elements to the form. sc_form_elements class comes to save time rewriting that peace of code again and again, but still have control over the form.

Picture of Panos Kyriakakis
  Performance   Level  
Name: Panos Kyriakakis is available for providing paid consulting. Contact Panos Kyriakakis .
Classes: 2 packages by
Country: Greece Greece
Age: 44
All time rank: 3455 in Greece Greece
Week rank: 486 Down4 in Greece Greece Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file db_sample_data.sql Data Example data file
Accessible without login Plain text file example.php Example Example file
Accessible without login Plain text file example_2.php Example Example for new extra where feature
Accessible without login Plain text file example_5.php Example Use last select box's onChange event to get values for further use
Accessible without login Plain text file example_7.php Example Radio buttons example
Accessible without login Plain text file lsd_demo_2_sample_data.sql Data Sample data for example 2
Plain text file sc_classes.php Class Main class file
Accessible without login Plain text file sc_select_ajax_handler.php Appl. Ajax handling functions
Accessible without login Plain text file top_script.php Aux. Example file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,565
This week:2
All time:909
This week:506Up
 User Ratings  
 
 All time
Utility:60%StarStarStarStar
Consistency:60%StarStarStarStar
Documentation:-
Examples:50%StarStarStar
Tests:-
Videos:-
Overall:41%StarStarStar
Rank:2312