Re: populate quickforms's hierselect via Ajax

From: Date: Tue, 26 Sep 2006 19:01:56 +0000
Subject: Re: populate quickforms's hierselect via Ajax
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25245@lists.php.net to get a copy of this message
Tom Melendez wrote:
Hey Folks, I'm currently using HTML_Quickform's hierselect and it has been working out just fine. My issue now is that the total amount of data that the list needs to handle is too large (5 to six menus deep and about 6,000 records). Anyone have an ideas (sample code would be great too!) about how to handle this via an Ajax-type scenario, that is, only requesting the data as we need it? Can it be done with this control? Thanks, Tom This wouldn't be hard to do, HTML_QuickForm_Livesearch already uses AJAX so you could use its same setup, its just a matter of hooking up new events.
Gabriel Ricard did a presentation showing the stand along AJAX menus using HTML_AJAX you should be able to use his code to get an idea of what is possible. http://wiki.bluga.net/index.php?area=HTML_AJAX&page=Examples -josh

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