Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If you call field_attach_form for a form with conditional fields more than once, the duplicate conditional fields are not processed. I have modified the module to account for all instances of a conditional field in the form and process each field. This is for compatibility with Commerce Registration.
Comments
Comment #1
arosboro CreditAttribution: arosboro commentedHere is the patch
Comment #2
mrconnerton CreditAttribution: mrconnerton commentedHere is a new patch against the latest dev. I too am using this for commerce_registration support.
I did have to make a tweak in the conditional_fields_evaluate_dependencies function around 1009 to support the "unique ids" which I'm fairly sure are entity ids. I could also be completely wrong and its just bad semantics.
I have also noticed that I cannot edit a registration at /registration/#/edit:
Comment #3
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedComment #4
pipep CreditAttribution: pipep commentedThis patch solved it for me after updating.