Skip Navigation

[Waiting for user confirmation] Parsing entry for multi check box field

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 4 replies, has 1 voice.

Last updated by Minesh 1 day, 6 hours ago.

Assisted by: Minesh.

Author
Posts
#2811366

Tell us what you are trying to do? I'm using the post creation feature in Gravity Forms, and the form is spitting out a simple array for the multi checkbox field. When it passes that array to my post type, it does not result in any of the boxes being checked. What format does the array need to be converted to so that it will show correctly as checked boxes. For instance, the choices are Ride Guide, Rest Stop, Route Developer, Van Driver, and Route Marker. If someone picks Ride Guide and Rest Stop, and the array is "Ride Guide, Rest Stop" how can that be converted to work correctly in the wpcf-volunteer-position2 field that I have so the right boxes will be checked? Right now, it ends up in the checkbox field as a simple array and does not result in any checked boxes.

Is there any documentation that you are following? I've been working with Gravity Forms support, and I found nothing in a search of your support forum.

Is there a similar example that we can see?

What is the link to your site? bikeflorida.org

#2811369

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Toolset custom checkboxes field stores it's options as serialize array.

Please check the following Doc that may help you in order to set or get the checkboxes value:
- hidden link

If that does not work, please share problem URL and admin access details and I will review your current configurations and try to guide you in the right direction.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2811853

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

It seems you assign the 0 value when the checkbox is unchecked with the custom code you added to your child theme's functions.php file:
=> hidden link

You need to make sure if checkbox is unchecked then you should not assign any value to it, it should be either removed for the serialize array or the value should be blank.

#2811938

But that doesn't explain why, if I just create the post right in Toolset and then edit it to check more boxes, it also shows zeros in the post list for the empty boxes. (Where it didn't show them when I initially created it.)

#2812047

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I checked and we do not offer the way to add "Checkboxes" field as post type listing column in admin.

I see that you are using the plugin "Admin Columns" and using that plugin you are displaying the checkboxes field. You can get in touch with "Admin Columns" plugin support and raise this issue in front of them. Otherwise - functionality wise it seems to be working as expected.