[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
www.dhtmlgoodies.com • View topic - Chained with 3 dropdown's???
Page 1 of 1

Chained with 3 dropdown's???

PostPosted: Tue Aug 29, 2006 5:42 pm
by eduardo
To site admin,
Congratulations for the great script, site and forum!!!

I really want to use the chained select boxes script. I have spent some time trying to make 3 in spite of 2 dropdown's... but had no sucess.
Could you please be so kind and give me a hint how do I get this?
In sequence... I'll try to make the script read the data from ONE MySQL table. The data will be in one field like: City1||City2||City3... will this be possible?

THANKS,
Eduardo.

PostPosted: Tue Aug 29, 2006 6:54 pm
by 3dom

PostPosted: Wed Aug 30, 2006 1:38 am
by eduardo
3dom,

Thanks for the post.
Yes, I mean 1 parent + 2 children :) Like: Country, State and City.
With your script, I got the 3 dropdown's. There is a small problem with the modifications I made:
When I choose the options, all go OK, but after the 3 DP's selected, IF I want to change the 'parent' (Country), it's supposed to 'clear' the 2 children (State and City)... only State is clearing.
Not wanting to abuse... could you please take a look at what I did (zip file at: http://cavalos.com.pt/chained_3DP.zip) and IF you have a solution, could you please post it back?

Thanks,
Eduardo

PostPosted: Thu Aug 31, 2006 3:01 pm
by eduardo