Chained drop down is a very simple/lightweight Chained Select/Dropdown widget for taxonomy term reference field.
How to use:
1) install the module;
2) add a taxonomy term reference field to any entity, choose "select list" as widget;
3) chained select will be automatically apply to the multi-level vocabulary.
Other modules do the same task: Hierarchical Select , Simple hierarchical select, but as we all known hierarchical select is too heavy to use and require additional click to function, from the user experience level, it is not good. the simple hierarchial select is claimed only work on node forms and as Views exposed filter.
Chained dropdown works on any taxonomy term reference field attached to any entity.
Sandbox project page: https://www.drupal.org/sandbox/ricson/2301987
git clone command: git clone --branch 7.x-1.x git://git.drupal.org/sandbox/ricson/2301987.git chained_dropdown
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | content_type_term_reference_field.png | 7.7 KB | pushpinderchauhan |
| #9 | taxonomy.png | 4.68 KB | pushpinderchauhan |
Comments
Comment #1
gwprod commentedPlease include your git clone command (not the personal one, but the general purpose one)
Comment #2
PA robot commentedGit clone command for the sandbox is missing in the issue summary, please add it.
We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #3
ricsonhoo commentedComment #4
ricsonhoo commentedadding git clone command.
Comment #5
David Witczak commentedHello,
please use pareview.sh
I tested your module, if I selected a childless term , the second list does not change and displays the wrong term
Comment #6
ricsonhoo commented@David Witczak, thank you for your report, the problem will be fixed ASAP.
Comment #7
daniel.moberly commentedFails automatic tests:
http://pareview.sh/pareview/httpgitdrupalorgsandboxricson2301987git
Primarily small issues with formatting, but you also have the following issues:
Missing README file
Need to clean up your .info file - remove everything after "dependencies" lines
Comment #8
ricsonhoo commentedREADME.txt added, .info file cleaned up, .module file formatted.
Comment #9
pushpinderchauhan commented@ricsonhoo, first of all thanks for your contribution.
Your above mention git command is incorrect, it should be:
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/ricson/2301987.gitFollowing modules looks like similar to your module.
Please add your comment on this.
Manual Review:
1. Also I tested your module if I make multi-level hierarchy with different-2 number of child as shown below:

Now It is appearing in content type form as shown below:

2.Some garbage value is coming in comments.
3. Better to keep following code in separate js file and use
Drupal.settingswith drupal behaviors.4. There is only one function in your .module file, better to break this function code in sub functions, hard to read and debug.
5. hook_help() is also missing in your module.
6. Project page description is too small.
Thanks Again!
Comment #10
ricsonhoo commented@er.pushpinderrana thank you for your test and review, will fix it asap.
Comment #11
PA robot commentedClosing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.