Feature proposal #7664
closed
Implement support for CB Repeat conditions
Added by krileon over 5 years ago.
Updated over 3 years ago.
Description
With a CB Repeat usage an input gets cloned. The JS and PHP side conditions need to be able to properly update the show, hide, and condition target elements to account for this.
- % Done changed from 0 to 30
- % Done changed from 30 to 0
This may not be possible without a completely rewrite to the jQuery, which would have to wait for CB 3.x when jQuery is removed entirely. Continue exploring options. Main issue is how it binds to elements parent container element, which is not updated by CB Repeat. Maybe CB Repeat should be updating that parent container?
- % Done changed from 0 to 70
Improved jQuery to be aware of when a condition is inside of a field group. When it is it will try to find the field inside the field group row first before looking outside. As for PHP side if the field being conditioned is inside of a field group and the field being checked against is also in that field group it will pull its value from that field group.
- % Done changed from 70 to 90
- Status changed from Assigned to Resolved
- % Done changed from 90 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF