Closed (duplicate)
Project:
Reference field option limit
Version:
7.x-1.3
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Feb 2013 at 14:04 UTC
Updated:
3 Feb 2015 at 08:33 UTC
Jump to comment: Most recent
Comments
Comment #1
joachim commentedCould you check whether the two ajax elements have distinct classes? Debug this value:
Comment #2
k4o commentedHi,
I have the same problem. Fields "opponents" and "stages" depend on field "discipline". Only one field works. Both elements have distinct classes and ids.
Second ajax callback is empty.
EDIT:
I found your todo note:
// @todo: I have no idea how to make this work if the triggering field affects
// more than one option limited field!
I change function to:
Please test.
Comment #3
alauddin commentedHi,
Tested #2 function by replacing the code in reference_option_limit.module - did not work for me.
It even broke the one field that worked.
Anyone get this to work with 2 fields with reference limit from same?
My setup
Vocab A > terms > user selects from list
Vocab B (referenced to A) > terms option limit - works when this is the only one on the form
Vocab C (referenced to A) > terms option limit - does not work.
Comment #4
alauddin commentedOk...found solution in another issue que..with a working patch when applied to dev.
https://drupal.org/comment/8015843#comment-8015843
Comment #5
joachim commentedClosing this since the fix is on another issue.