Download & Extend

Are address components individually "require-able"?

Project:Addresses
Version:6.x-1.x-dev
Component:Code, CCK related
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

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?

Comments

#1

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

#2

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.

AttachmentSize
addressess_require_fields.jpg 24.99 KB
nobody click here