I m using Conditional Fields for Drupal 7 to create country state relational dropdown in my Field Collection module, but it is not working properly.

I created Country US and Canada and, depending upon those, US States and Canadian States; I created the relation, but in the front end all the drop-downs are shown.

Can anyone suggest me what I am doing wrong? If this module does not work, how do I create a country state relational dropdown in my Field Collection?

  • Check with Field Conditional State module. Recent version of this module is here. Maybe that will solve your problem.
    – RajeevK
    Apr 2, 2014 at 8:01
  • Is that less buggy than the conditional fields module?
    – Felix Eve
    Apr 2, 2014 at 8:29
  • @RajeevK when I use the "Field Conditional States" module as per your suggestion but in this case "manage dependencies" tab is not appearing at all
    – user27370
    Apr 2, 2014 at 8:54

2 Answers 2


The other option to try is a custom form alter and add the #states key to those fields. This is a code only, no ui approach, but it should work just as well for what you are looking to accomplish.

Here is an article that describes how to use #states. http://randyfay.com/states


You can try the patch Here to enable field collection work with conditional fields. Optionally, instead of the field collection module, you can use the Fieldgroup module with conditional fields and apply This Fix, that personally worked for me.

Alternatively, you can use Hierarchial Select to create relational dropdown (i have suggested this module because you mentioned country and state relationships). Hierrachial select however doesnt work well with views exposed filters, but there is a suggested workaround in this issue

There is also Simple Hierarchial Select which works for nodes and views exposed filters

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.