Skip Navigation

[Resolved] Repeatable fields view showing unattached copy of extra notation before items

This support ticket is created 6 years, 8 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 3 replies, has 2 voices.

Last updated by sarahK-2 6 years, 8 months ago.

Assisted by: Nigel.

Author
Posts
#901413

I have a custom post type with a repeatable field group. I created a simple view to display the fields within the repeatable field group:


[types field="board-member-position"][/types]: [types field="board-member-name"][/types]<br>
email: [types field="board-member-email"][/types] phone: [types field="board-member-phone"][/types]<br><br>

I expected to see
________________________________________________

President: Some Name
email: email@email.com phone: 800-555-1212

Vice President: Some Other-Name
email: email@email.com phone: 800-555-1212

Instead, I got
________________________________________________

:
email: phone:

President: Some Name
email: email@email.com phone: 800-555-1212

Vice President: Some Other-Name
email: email@email.com phone: 800-555-1212

*****the extra

:
email: phone:

is the notation I added, plus the line breaks, inserted once above the listings. I cannot see where this is coming from, and I don't know how to get rid of it.

Any ideas?

#901415

Okay, I just did a little more investigation. It seems like the problem is deleted entries.

I added a new entry into the repeating field part, and then changed my mind and deleted it. I believe that is the empty field that is showing up.

Also, I entered a new post with test data, and then deleted it. The data I entered is still showing up when I display the view, even though the post no longer existed. I trashed it, then permanently deleted it. I cleared the cache. That data is still showing.

So, that's information about what the problem might be, but I still don't know how to fix it.

Thanks in advance.

#901540

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Sarah

I don't have any debug info for your site (hidden link) so I can't see which versions you are using.

I just tried to reproduce the problem on a test site with the current RC versions available from wp-types.com/account/downloads.

I have an event post type and I added a repeating field group for venues which contains several fields.

I created a View to display the fields of the venue repeating field group (with a Query Filter to identify which event post the fields belong to), and output the fields in the Loop Output section of the View.

I then inserted this View into the template for single event posts, created some sample data, and visited an event post on the front end.

The venue fields are shown as expected.

I then went back to edit the event in the backend.

I deleted one of the field group repetitions—it gave me a 4 second countdown with the chance to cancel but I let it go ahead and delete the venue.

I then re-visited the event post on the front end and it displayed correctly, with deleted venue fields no longer showing and no extraneous output.

Is there anything in that description that differs from your set up?

I may need to get a copy of your site to confirm the problem myself and pass it to the developers for testing, and we'll want to expedite this as quickly as possible, so let me mark your next reply as private so that I can get credentials from you if my description above corresponds to your set up and you are already using the latest plugin betas.

#902212

I have
Forms Version 2.0-RC
Types Version 3.0-RC
Views Version 2.6-RC2

Which, after checking, I realize are not the most recent versions. As soon as I am able to update to the latest versions, I will check again and see if the problem remains.

Thanks so much, I'll let you know if it is still a problem.