Skip Navigation

[Resolved] Required fields function not working anymore

This support ticket is created 3 years, 10 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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 7 replies, has 2 voices.

Last updated by Shane 3 years, 10 months ago.

Assisted by: Shane.

Author
Posts
#2199673

I am trying to: We have set different post fields as required. This worked like a charm until the update to the new version 3.4.14 in both classic and block editor.

Link to a page where the issue can be seen: Backend only

I expected to see: Validation error if fields are not filled out

Instead, I got: It saves the post without blocking to save the post and throwing an error

Tested on 2 production systems. Test-System with older version still works.

#2199711

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Jonas,

Thank you for getting in touch.

I'm aware that this issue can occur when you've disabled the content editor. Have you disabled the content editor for you post type ? Or does the issue occur even with the editor enabled.

Please let me know.
Thanks,
Shane

#2199715

Hi Shane,

both block and classic editors are enabled. It happens in the regular wp post type.

Best,

Jonas

#2199999

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Jonas,

Would you mind allowing me to have admin access to the site so that I can test your use case ?

Please let me know the post type that is having the issue.

Thanks,
Shane

#2200349

Hello Shane,

Thanks for your message. As I wrote before. The post type is "posts" - the wp standard for posts.
Unfortunately I can't give access to our site - is there any other information I could send you?

Thanks,

Jonas

#2200999

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Jonas,

What you can do is to send me a screenshot of the Post Type settings as well as a screenshot of the custom Field group with the expanded custom field that is required.

This should give me enough information to try to replicate it on my end.

Thanks,
Shane

#2201427
posttype-settings.png
fieldgroup.png

Hi Shane,

Please find attached the two screenshots.

Thanks,

Jonas

#2201773

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Jonas

I suspect that you're working with the Classic editor correct? If that is the case then the issue is already known however with the gutenburg editor the required field should work as according to my tests.

This is the exact known scenario under which the required fields will fail. For now you can workaround the issue by using the gutenburg editor.

Thanks,
Shane