Hello,

I am using the Conditional Fields module with the Entity Registration module and Drupal Commerce. I have some dependencies setup so if you choose for instance "Are you a member district" a list of Member Districts to choose from show up. So that's working great.

The problem is that a user can register for more than one event, so after they have added the two events to their cart and go to check out, they need to fill in the registration forms for both. It seems that Conditional Fields only works with the first registration form, but since there are two forms on the same page, the dependency has no affect on the other form. (See Screenshot). This can become a huge issue because it is possible that users will be registering for multiple courses, events, workshops, etc. on this site so we want to make it as clean as possible.

The screenshot shows an example of the conditional field working on the left, and not on the right.

Comments

Category:support» bug
Status:Active» Needs review
StatusFileSize
new1.33 KB

I got this bug also. Check out attached patch to fix the issue.

Issue summary:View changes
Status:Needs review» Fixed

Committed, thanks!

Status:Fixed» Needs work

Had to revert this change, since it breaks checkboxes and radio buttons as dependees. You can use the custom jQuery selector option to adjust to your needs.