Skip Navigation

[Resuelto] Custom field default value should only pre-fill when creating, not editing, post

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem:

If set a custom field’s default value, create a post, clear out the field value and save the post, the field still filled with default value, but it should not re-fill with the default value.

Solution:

This is fixed in the latest version of Toolset Types plugin, you can download it here:

https://toolset.com/account/downloads/

Relevant Documentation:

This support ticket is created hace 5 años. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

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)

Este tema contiene 3 respuestas, tiene 2 mensajes.

Última actualización por Clifford hace 3 años, 4 meses.

Asistido por: Luo Yang.

Autor
Mensajes
#1375211

If I set a custom field's default value to "50", I expect when I create a new post that this field applies to that it will be pre-filled as "50".

If I clear out the value and save the post, all subsequent post editing should leave it blank, not re-fill it as the default value.

#1375275

Hello,

Thanks for the feedback, I can duplicate the same problem, and escalated this issue, will update here if there is any news.

#2125069

Hello,

This is fixed in the latest version of Toolset Types plugin, you can download it here:
https://toolset.com/account/downloads/
Please test it and feedback if the problem is fixed, thanks

#2125837

Great, will look for this going forward. Thank you!