Automatic hierselects with DBDOFB

From: Date: Wed, 10 May 2006 12:22:26 +0000
Subject: Automatic hierselects with DBDOFB
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-24036@lists.php.net to get a copy of this message
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 (#24036) next »