RV: Automatic hierselects with DBDOFB

From: Date: Thu, 11 May 2006 12:02:12 +0000
Subject: RV: Automatic hierselects with DBDOFB
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-24044@lists.php.net to get a copy of this message
Anyone can help? -----Mensaje original----- De: Jose Manuel Zea [mailto:jmzeag@yahoo.es] Enviado el: miércoles, 10 de mayo de 2006 14:22 Para: 'pear-general@lists.php.net' Asunto: Automatic hierselects with DBDOFB Importancia: Alta Hi all: I followed the example in http://opensource.21st.de/25.html#A11 for Creating automatic hierselects with DB_DataObject_FormBuilder and it worked perfectly. The only thing it´s that I need the same but with 4 select components, to get Country -> Province -> City -> Area. I tried it first with 3 Province -> City -> Area (Provincia->Municipio->Zona in spanish), changing the var $conditionalFields to something like: var $conditionalFields = array( 'codzonacodmunicipio' => array( 'codprovincia:provincias' => array('codprovincia'), 'codmunicipio:municipios' => array('codprovincia','codmunicipio'), 'codzona:zonas' => array('codmunicipio', 'codzona') ) ); In this way I get 3 selects, where I can select the Province and automatically filters the city, but the third select doesn´t work. Does anyone how to achieve it following the Creating automatic hierselects example? Thanks in advanced. Best regards. Jose Manuel Zea ______________________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com

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