Ajaxing Dependant Dropdown
Tried example http://d7.drupalexamples.info/examples/ajax_example/simplest and works fine when you have one dropdown and one textfield. For my custom module I need to have three levels dependant dropdown (Manufacturer-Product-Model). In this case Manufacturer is a dropdown list. Product is also a dropdown list but it is populated on basis of selected 'Manufacturer'. Model is a also a dropdown list that is populated on the basis of selected 'Product'. Unfortunately I have not been successful and get the following error:
An illegal choice has been detected. Please contact the site administrator.
Googling around I found different answers. Probably http://drupal.org/project/hierarchical_select may be a viable solution.
Since I am populating the lists from my tables created through my custom module, I would also like to customize dependant dropdown .
Could anyone please share his code.
Thanks in advance.
