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

socceronly’s picture

Ok, 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

socceronly’s picture

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

johnv’s picture

Status: Active » Fixed

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

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Just an edit