i implement 3 fields
1.country
2.state
3.city
state is controlled and filtered by country and city is filtered and controlled by state .
my problem is when i select city state values change properly but the city values are not.
and second problem is that i set default to None but it shows the first value or last selected value .
i want to reset all values if i change the country value

Comments

vicky_talkin’s picture

I also tried to hide the city field using hook_alter_form by adding jquery on onchange event of country field but its not working properly.
and i think no one is taking interest in suggesting me the solutin for this.
should i add this problem to the bug report of dependent field as its do not have any solution

pcambra’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Doing some cleanup as there's a new version for D8/9 and D6 is no longer alive