Closed (fixed)
Project:
Address Field
Version:
7.x-1.0-beta2
Component:
Miscellaneous
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Feb 2012 at 16:46 UTC
Updated:
26 Apr 2013 at 11:20 UTC
Would it be possible, if multiple addresses were used to repeat the field label? Or even better increment that label? Don't even really need the numbers, they might look cheesy. Just separating the output of the multiple address with the label would be awesome.
Location 1
...
...
Location 2
...
...
Comments
Comment #1
socceronly commentedOk, not so sure this is minor.
I may have to turn multiple addresses off. On every node I get this output, a double dash and the country below it. This is with unlimited as the quantity. I will try out a few more combinations and things and see if I can turn anything up that works.
Output:
XXX The East Mall
Etobicoke Ontario XXX XXX
Canada
--
Canada
Comment #2
socceronly commentedOk. Figured why/how this is happening.
If you have a default country + Multiple addresses, the second or trailing address is entered as an incomplete one because the default country is there. If you set the trailing address country to none, it doesn't output what you see above.
If you do enter multiple addresses however, it sill mushes them together.
Comment #3
johnv1. for the extra 'Country' line, this is because Addressfield always stores an address, even if it is empty. the following issue fixes that: #1844846: Make Addressfield optional, (even if country is required)
2. for the extra Caption, I'm afraid this is standard Fields behaviour, nothing to do with Addressfield.
Please reopen if you think it is not fixed.
Comment #4.0
(not verified) commentedJust an edit