Skip Navigation

[Resolved] Displaying an address field with Multiple Instance smushes all entries together.

This thread is resolved. Here is a description of the problem and solution.

Problem:
Displaying an address field with Multiple Instance smushes all entries together.

Solution:
You can use attribute "separator" in order to separate the multiple instances.

You can find proposed solution, in this case, with the following reply:
https://toolset.com/forums/topic/displaying-an-address-field-with-multiple-instance-smushes-all-entries-together/#post-923905

Relevant Documentation:
https://toolset.com/documentation/user-guides/repeating-fields/#Displaying%20Repeating%20Fields

This support ticket is created 6 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 6 years, 6 months ago.

Assisted by: Minesh.

Author
Posts
#923692
CapturFiles-201807192_1207_3.png
CapturFiles-201807192_1207_1.png
CapturFiles-201807192_1207_2.png
CapturFiles-201807192_1207.png

I am trying to: Display Multiple Addresses using the Allow multiple instances of this field. When adding the address field type to a view it should display each address with a comma or something instead it just crams all entries together without any spaces or formatting at all.

Link to a page where the issue can be seen: Sorry this is a local site running Toolset everything.

I expected to see: At least a space between addresses.

5410 Highway 197 South Clarkesville, GA 30523
427 Cash St, Cornelia, GA, USA

Instead, I got: Address: 5410 Highway 197 South Clarkesville, GA 30523427 Cash St, Cornelia, GA, USA

This is my local WordPress site where I am trying different things with Toolset to see what I can and can't do with it for our future needs. I can make a duplicator copy of it if you need, but I think you will find that this issue will show itself on any install.

#923905

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - You can use attribute separator in order to separate the multiple instances.

Please try to use following shortcode:

<ul>
 <li>[types field="your-field-name" separator="</li><li>"][/types]</li>
 </ul>