Needs review
Project:
Field Conditional States
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Mar 2014 at 07:20 UTC
Updated:
10 May 2016 at 17:35 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
hass commentedhttps://drupal.org/project/addressfield
Comment #2
kenorb commentedYou may try Conditional Fields module.
Check also: http://drupal.stackexchange.com/questions/106457/how-to-add-a-conditiona...
Comment #3
hass commentedNope. Broken.
Comment #4
Tobias Xy commentedComment #5
sketman commentedHas this patch been commited please?
Comment #6
zmove commented+1. Is it commited ?
Comment #9
Tobias Xy commentedComment #10
Tobias Xy commentedLet the testbot test the patch.
Comment #12
Tobias Xy commentedDone
Comment #14
magnestyuk commentedReopening. Support for the postal code field is missing from the patch:
$settings['addressfield_standard']['form_elements'][] = array('locality_block', 'postal_code');Comment #15
heliogabalHi,
@magnestyuk is right, I'll attach a patch with the postal_code included.
Otherwise, tested patch #9, seems to work fine.
Comment #17
heliogabalargh, stupid mistake, this patch should work.
Comment #18
Anonymous (not verified) commentedHere's an updated patch that includes a few other missing fields.
Comment #19
nikolino commentedI applied the patch but if I select an address field as the Control field, in "trigger state" there is only -none-.
Any ideas?