Re: Two dynamic select lists

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

on 03/20/2006 09:52 AM Alf Stockton said the following:
> I am attempting to write an HTML/PHP that contains two select list and I
> don't have a problem with the select lists as such.
> What I need to do is only display in the 2nd list data that is pertinent
> to what was selected in the 1st list.
> Does anyone have an example of how to achieve this please?


This forms generation class comes with a plug-in that lets you implement
exactly what you want:

http://www.phpclasses.org/formsgeneration

Here are examples of the class in action:

http://www.phpclasses.org/browse/view/html/file/9879/name/test_linked_select_page.html

http://www.phpclasses.org/mirrors.html

It can also work dynamically and retrieve alternative groups of options
from a database using AJAX to avoid page reloading.

-- 

Regards,
Manuel Lemos

Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux