I've defined a CCK field with a Widget Type of Address Field with the option set to allow an unlimited number of values (so multiple addresses could be set up), and encountered two problems.
1. On a new node, two blank (sets of) address fields appear by default, followed by the "Add another item" button. There seems to be no way to save just one. I would have expected just one (set of) address fields to appear at first.
2. There is no REMOVE button / option offered to allow a user to delete addresses that should no longer be listed. This is normal with other multiple-value fields (for example, images or files).
Thanks for your work on this module. The recent fix for State/Province selection is particularly good to see.
Comments
Comment #1
codycraven CreditAttribution: codycraven commentedailgm,
Thank you for your report. For the time being this will be something that will take me some time to get to - there are currently several issues I am working on. CCK and Views integrations are the weakest points for the Addresses module currently and now that the State/Province Select Field is running it will be my primary target.
I'm glad you've enjoyed the State/Province selection field, it will be released in the next update to come soon.
Comment #2
codycraven CreditAttribution: codycraven commentedAs a note on your point #1, CCK displays fields set to unlimited with two fields - this occurs with Addresses too. As far as saving, I will need to update the logic to allow empty addresses and go based on the required CCK setting.
I would like to have only one address shown by default so I'll see what can be done with CCK in this regard, if anything.
Comment #3
epop CreditAttribution: epop commentedI also have an issue where the second address puts in United States as the country if it is left blank. Any reason for this?