Skip Navigation

[Resolved] Required fields not working on back end

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

Problem:

The issue here is that the toolset custom fields that are set as required on the backend a no longer required and can be submitted without a value.

Solution:
This is a known issue and only occurs when the gutenburg editor is enabled for posts. The issue doesn't occur when using the classic editor.

This has been fixed by our development team and will be made available in a future release of Types.

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

Tagged: 

This topic contains 7 replies, has 2 voices.

Last updated by collinC-2 3 years, 9 months ago.

Assisted by: Shane.

Author
Posts
#1987903

Hi, I've set up a some required custom fields on a CPT. However, in the Dashboard, I can create new entries without being prompted to set values on the required fields. I have required field types of text, date, and number and I can create new entries without the required fields.

Please let me know if there's a setting I'm missing or some other detail I can provide on this.

Thanks,

Collin

#1988027

Shane
Supporter

Languages: English (English )

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

Hi Collin,

Thank you for getting in touch.

Would you mind providing me with admin access to the site so that I can have a look at this for you?

Also please let me know the fields that are set to be required.

Thanks,
Shane

#1989185

Shane
Supporter

Languages: English (English )

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

Hi Collin,

Thanks for the URL and password, however it seems to be redirecting me to the wordpress.com login page to log into the site.

I'm assuming the site is hosted on wordpress.com

Would it be possible for you to provide me with a screenshot of the Fields settings page expanding atleast one of the fields so that I can see how it is configured?

The fields settings page is found at Toolset -> Custom Fields and then edit your custom fields group.

Thanks,
Shane

#1989201

Here's an example of one of the fields: hidden link. You can also see on the backend, that field has a star by it: hidden link.

Please let me know if you need anything else on this.

Thanks,

Collin

#1989213

Shane
Supporter

Languages: English (English )

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

Hi Collin,

Thanks for verifying that the fields are set as required. Given the challenges login in You can provide me with a copy of the site using the plugin below.
https://wordpress.org/plugins/duplicator/

Also I see that you have the jetpack plugin installed is it that you have the Login with WordPress.com setting enabled ? As this would prevent me from login in with the credentials that you've provided.

Can you check this and let me know.
Thanks,
Shane

#1989235

I've disabled the Jetpack login. Please give that a try. If it doesn't work, I'll get you a copy of the site.

Thanks,

Collin

#1989501

Shane
Supporter

Languages: English (English )

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

Hi Collin,

Thank you, I was able to successfully log in and check on the issue for you. I also checked on our internal issues tracker and the problem is only when you're using the Gutenburg editor.

I do see comments on the ticket where the developers say they have fixed the issue but no indication as to when this fix will be pushed to a production version of the Types plugin.

I see that you have the classic editor plugin installed, you can use this to enable the classic editor as the required fields work when the classic editor is being used.

However the best way to enable the classic editor is for Toolset to do it. Go to Toolset -> Post Types and edit your post type and set it to use the Classic editor.

This is the only workaround we have at the moment.

Thanks,
Shane

#1989559

I've switched to classic view and it my issue resolved now. Thank you!