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?

CommentFileSizeAuthor
#2 addressess_require_fields.jpg24.99 KBdkinzer
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

AlexisWilke’s picture

The 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

dkinzer’s picture

In 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.