Sauter la navigation

[Résolu] CPT Title filled in but get "This field is required" error on submit in CRED

This support ticket is created Il y a 3 années et 6 mois. 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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Karachi (GMT+05:00)

Ce sujet contient 3 réponses, a 3 voix.

Dernière mise à jour par peterI Il y a 3 années et 6 mois.

Assisté par: Waqar.

Auteur
Publications
#2199819
chcact-jobs-cpt.png
chcact-form-submit-error.png
chcact-form-entry.png

This was working previously (for a couple of years) but stopped working correctly at some point in the last month or so.

I have a front-end (CRED) form to a CPT. lien caché (must be logged in)
The first field to fill in is the Title.
In this case its is Job Title but it is the post title in the CPT "Jobs."

When a user fills out the form to add a job and properly add the title, they get an error:
"Job Title This field is required" - even though the field was filled out.
Also, all the other fields are cleared (which I don't think normally happens when a required field isn't filled out.

I've turned off all caching. I have not gone through the pain of turning off other plugins. Will need to make a copy of the site or test during off hours.

Hoping for clues of what to look for first.

#2200463

Nigel
Supporter

Les langues: Anglais (English ) Espagnol (Español )

Fuseau horaire: Europe/London (GMT+01:00)

Hi Peter

Are you using the Events Calendar plugin?

https://toolset.com/errata/events-calendar-update-breaks-toolset-post-forms/

#2200467

{ticket status updated}

#2200745

Yes, we use the Events Calendar plugin. It was helpful to have pin-pointed plugin vs. going the disable-route. The Ajax work around did the trick. It will be interesting to learn if there will be a fix either by Events Calendar or Toolset, especially considering how long this has been an issue (over six months, based on indicated versions).