Skip Navigation

Types field validation fails on post edit screens and posts are submitted anyway

Open

Symptoms

A post type has a field group with required custom fields assigned.

Publishing the post is possible without completing required fields. Validation errors are shown, but the post is published anyway.

Workaround

This broke in Types 3.4.11.

We have identified the problem, and a patch is available.

Download this file.

Unzip it, and use it to replace the file of the same name at plugins/types/vendor/toolset/toolset-common/toolset-forms/js/ to fix the issue.

Note, you may have to clear the browser cache for the fix to take effect. Also, if this fix does not make it into the upcoming Types release it will need to be re-applied after updating.

Leave
a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>