Skip Navigation

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

This support ticket is created 4 years, 5 months ago. 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: Africa/Casablanca (GMT+01:00)

This topic contains 1 reply, has 2 voices.

Last updated by Jamal 4 years, 5 months ago.

Assisted by: Jamal.

Author
Posts
#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:
- hidden link

I'll remain at your disposal.