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.
Because conditional_fields unsets the #required index on conditionally required elements, this causes a PHP notice in form.inc. By setting #required to FALSE rather than unsetting it, this notice can be avoided.
Comments
Comment #1
pdrake CreditAttribution: pdrake commentedComment #2
bcmiller0 CreditAttribution: bcmiller0 commentedre-rolled to apply cleanly.
Comment #3
bcmiller0 CreditAttribution: bcmiller0 commentedsorry one more time as relative... shoudl get it
Comment #4
bcmiller0 CreditAttribution: bcmiller0 commentedSOrry messed this up totally. Here it is correctly.. finally
Comment #5
peterpoe CreditAttribution: peterpoe as a volunteer commented