# Form field value shows \[Object object\]

**URL:** <https://forum.mautic.org/t/form-field-value-shows-object-object/8822>\
**Category:** Product Support\
**Created:** [June 27, 2017, 1:26pm UTC](https://forum.mautic.org/t/form-field-value-shows-object-object/8822 "2017-06-27T13:26:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Doahh](https://avatars.discourse-cdn.com/v4/letter/d/67e7ee/32.png) [@Doahh](https://forum.mautic.org/u/Doahh)\
**Post date:** [June 27, 2017, 1:26pm UTC](https://forum.mautic.org/t/form-field-value-shows-object-object/8822/1 "2017-06-27T13:26:32Z")

</div>

I am a first time Mautic user. A new Contact based on a web form is not being added to the correct segment. I am using the campaign builder with a condition based upon a _Form Field Value_. I select a custom form field but the values populated in the form show [Object object]. This is particularly unexpected as when using the field in a _Contact Field Value_ the value is correctly populated. I have tried to replace the [Object object] with the correct form value but it didn’t help.  
  
  
  
Does anyone have any thoughts? Is the [Object object] likely to be the reason why I can’t add the user to the correct segment?  
  
  
  
The only thing shown in the log is:

Code:

[2017-06-27 15:20:27] mautic.WARNING: PHP Warning - Illegal offset type - in file /storage/www/mautic/app/bundles/FormBundle/Form/Type/CampaignEventFormFieldValueType.php - at line 104 [] [] [2017-06-27 15:20:27] mautic.WARNING: PHP Warning - Illegal offset type - in file /storage/www/mautic/app/bundles/FormBundle/Form/Type/CampaignEventFormFieldValueType.php - at line 104 [] [] [2017-06-27 15:20:27] mautic.WARNING: PHP Warning - Illegal offset type - in file /storage/www/mautic/app/bundles/FormBundle/Form/Type/CampaignEventFormFieldValueType.php - at line 104 [] [] [2017-06-27 15:20:27] mautic.WARNING: PHP Warning - Illegal offset type - in file /storage/www/mautic/app/bundles/FormBundle/Form/Type/CampaignEventFormFieldValueType.php - at line 104 [] []

  
[![tmp.png](https://preview.ibb.co/eBZ03Q/tmp.png)](https://ibb.co/mk57iQ)  
[![mautic.png](https://preview.ibb.co/fzU03Q/mautic.png)](https://ibb.co/bW903Q)

---

<div class="post-metadata">

**Author:** ![Doahh](https://avatars.discourse-cdn.com/v4/letter/d/67e7ee/32.png) [@Doahh](https://forum.mautic.org/u/Doahh)\
**Post date:** [June 27, 2017, 1:26pm UTC](https://forum.mautic.org/t/form-field-value-shows-object-object/8822/2 "2017-06-27T13:26:32Z")

</div>

I am a first time Mautic user. A new Contact based on a web form is not being added to the correct segment. I am using the campaign builder with a condition based upon a Form Field Value. I select a custom form field but the values populated in the form show [Object object]. This is particularly unexpected as when using the field in a Contact Field Value the value is correctly populated. I have tried to replace the [Object object] with the correct form value but it didn’t help.

Does anyone have any thoughts? Is the [Object object] likely to be the reason why I can’t add the user to the correct segment?

The only thing shown in the log is:

```auto
[2017-06-27 15:20:27] mautic.WARNING: PHP Warning - Illegal offset type - in file /storage/www/mautic/app/bundles/FormBundle/Form/Type/CampaignEventFormFieldValueType.php - at line 104 [] []
[2017-06-27 15:20:27] mautic.WARNING: PHP Warning - Illegal offset type - in file /storage/www/mautic/app/bundles/FormBundle/Form/Type/CampaignEventFormFieldValueType.php - at line 104 [] []
[2017-06-27 15:20:27] mautic.WARNING: PHP Warning - Illegal offset type - in file /storage/www/mautic/app/bundles/FormBundle/Form/Type/CampaignEventFormFieldValueType.php - at line 104 [] []
[2017-06-27 15:20:27] mautic.WARNING: PHP Warning - Illegal offset type - in file /storage/www/mautic/app/bundles/FormBundle/Form/Type/CampaignEventFormFieldValueType.php - at line 104 [] []
```

[![](https://preview.ibb.co/eBZ03Q/tmp.png)](https://ibb.co/mk57iQ)  
[![](https://preview.ibb.co/fzU03Q/mautic.png)](https://ibb.co/bW903Q)
