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.
First of all thanks a lot for this awesome module! It rocks!
I have boolean field and i have set a dependency like this: when the boolean field is TRUE set the "data2" field required - which is a date field
When i set the boolean dependy to TRUE, a red asterisk gets added to the dependend date2 field but if i go ahead and save the node, it succeeds and doesnt require me the date!
If you have time please review this behavior!
Thanks a lot
Elvin
Drupal in Albania
Comment | File | Size | Author |
---|---|---|---|
#2 | check-datefields-for-required.patch | 985 bytes | Johnny vd Laar |
#1 | check-datefields-for-required.patch | 982 bytes | Johnny vd Laar |
Comments
Comment #1
Johnny vd Laar CreditAttribution: Johnny vd Laar commentedI had the same problem. The following patch fixes it for date select fields
Comment #2
Johnny vd Laar CreditAttribution: Johnny vd Laar commentedsorry previous patch was broken. this one does work
Comment #3
peterpoe CreditAttribution: peterpoe commentedThis was fixed in a much more "radical" way by commit a109990. Thanks for the patch anyway!
Comment #5
break9 CreditAttribution: break9 commentedI am using the latest dev version and none of my conditionally required fields are being enforced on submit?
The fields are being marked as required but the requirement is not being enforced.
Comment #5.0
break9 CreditAttribution: break9 commentedtypo