# Auto fill data for checkbox group in forms no longer works in mautic 5.x

**URL:** <https://forum.mautic.org/t/auto-fill-data-for-checkbox-group-in-forms-no-longer-works-in-mautic-5-x/36696>\
**Category:** Product Support\
**Created:** [October 6, 2025, 12:54pm UTC](https://forum.mautic.org/t/auto-fill-data-for-checkbox-group-in-forms-no-longer-works-in-mautic-5-x/36696 "2025-10-06T12:54:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![myusername](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/myusername/32/706_2.png) [@myusername](https://forum.mautic.org/u/myusername)\
**Post date:** [October 6, 2025, 12:54pm UTC](https://forum.mautic.org/t/auto-fill-data-for-checkbox-group-in-forms-no-longer-works-in-mautic-5-x/36696/1 "2025-10-06T12:54:01Z")

</div>

My Mautic version is: 5.2.8  
My PHP version is: 8.3.25  
My Database type and version is: MySQL 8.0.41

My problem is:

In Mautic 4 in forms (for example, a preference form), it was possible to map checkbox groups with a custom field (multiple selection) and to use the “auto fill data” setting to activate the checkboxes for the corresponding values ​​when the form is loaded.

When the form was loaded, the input fields of the checkboxes looked like this (correct value + checked):

![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/optimized/2X/4/4c2cffa5aa872252b52e35c8af137926316de1ec_2_690x28.png)

Using the same in mautic 5, it renders some html fragments

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/3/375538c1ae46f8b4d53d4ddab058f4ea55738252.png)

and the code now looks for example like this (here the value is missing, in other cases there were multiple values in the value field):

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/4/438dd981a30975a5c8fb39e28e985dcb2c54a176.png)

In short, the correct values ​​are no longer recognized.

These errors are showing in the log: -

This is a serious bug because it is not possible to use forms with a preselection in Mautic 5!

a similar problem already here: [HTML rendered when creating a checkbox group on Mautic 5 forms · Issue #12627 · mautic/mautic · GitHub](https://github.com/mautic/mautic/issues/12627)
