Skip Navigation

[Resolved] When displaying repeatable group fields in view, itr always adds 2 more extra

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 5 replies, has 2 voices.

Last updated by Minesh 9 months ago.

Assisted by: Minesh.

Author
Posts
#2688667

SD
4.jpg
3.jpg
2.jpg
1.jpg

When displaying repeatable group fields in view, it always adds 2 more extra empty fields of each in the dom, this makes it hard to add extra text after the field...for example

I have a repeatable group with the fields Phone Type and Phone Number, the user enters for example Phone 1 and the Number, to display it in views i do this(screenshot 1) but it always adds two more extra empty fields in the dom(screenshot 2)

This makes it impossible to customize using CSS or add extra text after the field for example ":" (screenshot 3) because then it renders the extra text to the empty fields as well (screenshot 4)

This seems to happen only with repeatable group fields.

#2688759

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Can you please share problem URL where you are trying to display the repeating field group and admin access details and let me check what's going wrong with your setup.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2688786

SD

I'm not able to provide login details at the moment...any idea why the issue might be happening, by the way, this is not the first time I have encountered this issue..it happens with every site I'm using repeatable groups. Not sure if it's a compatibility issue with the Oxygen builder that I'm using.

#2688788

Minesh
Supporter

Languages: English (English )

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

Can you please share the full page screenshot of your edit view page?

#2688790

SD
2.png
1.png

Sure, screenshot 1 is the view and screenshot 2 is the view for the repeatable groups that is used inside first view

#2688812

Minesh
Supporter

Languages: English (English )

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

Ok - I understood.

The view that displays the repeating field group - can you set the view to display any one repeating field group. You can set the view to display either - phone or fax or email any one of it and check if you see the issue is resolved.

#2688944

SD

Hi Minesh, that solved my issue, thank you so much for all the help.

A couple of suggestions though, since we can only select a repeatable group per view then those checkboxes could have been radio buttons and also notice their would be great...or even better if this issue is fixed in a future update since having a view for each repeatable group creates a lot of what it seems unnecessary dom elements.

Again thank you so much for all your help.