Skip Navigation

[Resuelto] Gravity Forms Checkboxes not pulling through to CRED edit form

This support ticket is created hace 4 años, 5 meses. 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: Africa/Casablanca (GMT+01:00)

Este tema contiene 1 respuesta, tiene 2 mensajes.

Última actualización por Jamal hace 4 años, 5 meses.

Asistido por: Jamal.

Autor
Mensajes
#1671591

Hi There,

I've followed through on this thread and used the code mentioned by Luo as I have multiple check box fields I would like to populate

https://toolset.com/forums/topic/gravityforms-checkbox-values-not-passed-to-custom-fields-checkboxes/

The code has worked perfectly until I go to edit the post via cred form, at that point the fields are empty but the odd thing is when I view the same post from wp-admin the fields are populated.

Can you answer me as to why they don't pull through to the edit post form?

Many Thanks
Ed

#1672251

Hello Ed and thank you for contacting the Toolset support.

Checkboxes field are stored differently in the database than a simple checkbox field. This means, that the code from Luo will not work, you will have to adapt it a bit. Check this snippet that is related to checkboxes fields, it may help:
- enlace oculto

I'll remain at your disposal.