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.
If one makes a 'list selection' profile field required, it is not required when the users submits the form. This is because '--' is always displayed, even if the field is required, and '#required' obviously thinks there is 'something'. This small patch fixes this.
Comment | File | Size | Author |
---|---|---|---|
list_required.patch | 634 bytes | DriesK | |
Comments
Comment #1
killes@www.drop.org CreditAttribution: killes@www.drop.org commentedplease create patches from the root directory.
applied.
Comment #2
DriesK CreditAttribution: DriesK commentedok, i'll keep that in mind.
Comment #3
(not verified) CreditAttribution: commented