Skip Navigation

[Geschlossen] unable to update post meta

This support ticket is created vor 8 Jahre, 5 Monate. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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/Hong_Kong (GMT+08:00)

This topic contains 1 Antwort, has 2 Stimmen.

Last updated by Luo Yang vor 8 Jahre, 5 Monate.

Assisted by: Luo Yang.

Author
Artikel
#344417

When we submit the form we have a few hook updating some of the meta field, unfortunately one of those field is a select box and the value doesn't change.
The meta value get set to Travailleur autonome but the select box display the default value.

#344475

Dear Jean,

Could you describe detail steps to duplicate same problem?
How do you setup the form? is it a CRED form?
How do you setup the custom select field? is it created with Types?

And how do you setup the "few hook updating some of the meta field"?
And if your custom fields is created with Types, Types pre-pend "wpcf-" before the field slug, for example, your field slug is "my-field", in database the meta_key is "wpcf-my-field", so in your PHP codes, you will need to use "wpcf-my-field" as field slug.

Das Thema „[Geschlossen] unable to update post meta“ ist für neue Antworten geschlossen.