Skip Navigation

[Resolved] Drag and drop field order for repeating field group not saved

This support ticket is created 6 years, 4 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)

Tagged: 

This topic contains 9 replies, has 2 voices.

Last updated by Nigel 6 years, 2 months ago.

Assisted by: Nigel.

Author
Posts
#956578

I'm opening another ticket as my previous one is closed (inactivity - I went on vacation!) but the issue remains.

Support ticket was:
https://toolset.com/forums/topic/drag-and-drop-field-order-for-repeating-field-group-not-saved/

My response is:

Deactivated all plugins apart from types, set theme to TwentyFifteen and cleared browser cache. Still not resolved.

Updated the post title, saved successfully, then tried reordering again. Not resolved.

Updated post title, reordered, then saved. Not resolved.

Created new parent post, saved, added 2 RFG entries, saved, to reordered and saved. Not resolved, order not updated.

Any further suggestions?

Thanks.

#956581

I've also tried different browsers to check it's not an issue client side.

#957109

Nigel
Supporter

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

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

Hi Ben

I just tested this locally and it works as expected, so there must be something specific to your install.

I'll probably need a copy of your site (hidden link) but before preparing that I suggest you check your browser console for errors, and also your PHP logs.

If you haven't already, turn on the debug log by editing your wp-config.php file and change the line with WP_DEBUG like so:

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);

That will create a file debug.log in your /wp-content/ directory which you can examine in any text editor. Try again on the post edit screen to re-order and save the RFGs and then inspect the log. If you don't find the debug.log file it means it didn't generate any warnings or errors.

Also, it looks like your version of Types is slightly out-of-date.

Instead of using the automatic update, it might be a good idea to delete the current Types, download a fresh current version from toolset.com/account/downloads, and then upload the zip file on the add new plugins page.

I'll mark your next reply as private in case you have a copy of the site to share.

#1077469

Nigel
Supporter

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

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

Hi Ben

You shared only the Duplicator archive but there should be an installer.php file, too.

Could you share that?

#1077476

Apologies - installer is here:
hidden link

#1077535

The issue appears to be related to the conditions I've set on the fields in the RFG. If I remove all the conditions the problem is resolved.

Most of the conditions relate to a field outside of the RFG. We wanted to hide the fields in the RFG if they weren't applicable due to the values outside of the RFG.

#1077548

Nigel
Supporter

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

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

Hi Ben

Thanks for that. I've successfully installed the duplicator and can see the issue.

I'll take a closer look in the morning to confirm the cause.

#1078390

Nigel
Supporter

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

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

Hi Ben

I confirmed your findings.

I'm not 100% sure whether what you are trying to do is supported, but it works, minus the side effect of breaking the re-ordering of the RFGs.

I've escalated this as I'll need my colleagues to take a look and express an opinion.

We'll get back to you as soon as possible.

#1084550

Nigel
Supporter

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

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

Hi Ben

A quick update to let you know a fix for this will be included in the next Types release (3.1), which is about to enter QA testing and so should be released if not next week then the following week, all being well.

#1110636

Nigel
Supporter

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

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

Hi Ben

Just to let you know that Types 3.1 has now been released.