I want field with entity reference showed as select but based on value from the another field in the same form [radio button field] for example the entity reference field will list these values

-entity 1
-entity 2
-entity 3
-entity 4

and the field radio button will hold countries like so:


notice that the entities reference (Content Type) has field called country, so when i check the value "England" i want the field entity to be filtered based on England for ex: -entity 1 & -entity 4 and same if i clicked Germany.

is that applicable in Drupal 7 even by Views module, or i have to do it custom !?

2 Answers 2


You can use Dynamic dependent fields module.

Project page says:

Makes field value or options depend on other field values when editing entity.

  • Notice the filed is Entity Reference not Select with options Commented May 19, 2014 at 17:37

i think it is done by Conditional Fields see tutorial here

  • Hi @Praveen, please refrain from posting a one-link answer by describing the important steps from the tutorial in your answer. Thanks! Commented Feb 10, 2017 at 5:57

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.