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.
I've see nowhere in the interface, either cck config or addresses module config, a place to specify whether individual address field are required. E.g. can I require Country and Province, but not the other components?
Comment | File | Size | Author |
---|---|---|---|
#2 | addressess_require_fields.jpg | 24.99 KB | dkinzer |
Comments
Comment #1
AlexisWilke CreditAttribution: AlexisWilke commentedThe Addresses module generates ONE CCK field. A CCK field may be required or not required. However, there is no way to individually require a field in CCK. At least, that's the way it is programmed right now. I think that it could be tweaked so the Addresses module checks validity including required fields, but I'm not too sure if that's really possible.
Thank you.
Alexis
Comment #2
dkinzer CreditAttribution: dkinzer commentedIn addresses_cck you can individually require some fields and not others. I do it all the time. Though there is a glitch which is when you do make an individual requirement, the field set up form requires you to add a default value. That's a bug and I'm about to create an issue for it.