# Shopware\_Form\_Builder not triggering on Profile edit page.

**URL:** https://forum.shopware.com/t/shopware-form-builder-not-triggering-on-profile-edit-page/55983
**Category:** International (English Only)
**Tags:** programming
**Created:** [25. Oktober 2018 um 12:58 UTC](https://forum.shopware.com/t/shopware-form-builder-not-triggering-on-profile-edit-page/55983 "2018-10-25T12:58:20Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![TerenceD](https://avatars.discourse-cdn.com/v4/letter/t/9d8465/32.png) [@TerenceD](https://forum.shopware.com/u/TerenceD)
#### Post date: [25. Oktober 2018 um 12:58 UTC](https://forum.shopware.com/t/shopware-form-builder-not-triggering-on-profile-edit-page/55983/1 "2018-10-25T12:58:20Z")

</div>

**EDIT**

**Managed to solve the problem on my own, the main issue was with the smarty template i left the [personal] in and once that was removed it started working.**

&nbsp;

Hey Hello,

I am working on a small plugin for a showcase internally in the company, and for that i need add a field to the profile.

I added it already to the registration page, and it creates it correctly in the database, however i am having huge issues in displaying it correctly in the edit box i created on the profile page.

```
        {block name="frontend_account_profile_profile_input_walletAddress"}
            
                
            
        {/block}

```

The main issue here is that first of all, the original data is not displayed in the text box. I can add the data no problem just by adding&nbsp;{$sUserData.additional.user.wallet\_address} in the smarty template in the value, However then on submitting the profile (Which i added to the first name/lastname box) does not work, and it retains the old value.

I created a subscriber for it :

```
 'onFormBuild',
        ];
    }

    public function onFormBuild(\Enlight_Event_EventArgs $args)
    {
        if ($args->getReference() !== \Shopware\Bundle\AccountBundle\Form\Account\ProfileUpdateFormType::class)
        {
            return;
        }

        $builder = $args->getBuilder();

        $builder->add('attribute', AttributeFormType::class, [
            'data_class' => CustomerAttribute::class
        ]);
    }

    public function __construct()
    {
        die('BLAAAAT');
    }
}

```

The Die statement is just purely to see if it even gets constructed (Which it does not)

This is the service registration

I used&nbsp;[Address Management Guide](https://developers.shopware.com/developers-guide/address-management-guide/#extending-the-address-form) as my base for this job along with this stack overflow article :&nbsp;[shopware - update customer attribute in frontend account profile form - Stack Overflow](https://stackoverflow.com/questions/42076863/update-customer-attribute-in-frontend-account-profile-form)

However, as said, i just cannot get the Shopware\_form\_builder to trigger under any circumstance to achieve this.

I am running Shopware 5.5.1 with the Bitnami installer.

If anyone would be able to point me in the right direction for this problem i would be very grateful.
