# Write into database a field added to Shopware 6 form via template

**URL:** <https://forum.shopware.com/t/write-into-database-a-field-added-to-shopware-6-form-via-template/97161>\
**Category:** Shopware 6 (English)\
**Tags:** general, administration, programming, templates--design, other, themes--design\
**Created:** [17. November 2022 um 21:00 UTC](https://forum.shopware.com/t/write-into-database-a-field-added-to-shopware-6-form-via-template/97161 "2022-11-17T21:00:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shopwarer1638](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@shopwarer1638](https://forum.shopware.com/u/shopwarer1638)\
**Post date:** [17. November 2022 um 21:00 UTC](https://forum.shopware.com/t/write-into-database-a-field-added-to-shopware-6-form-via-template/97161/1 "2022-11-17T21:00:13Z")

</div>

Can someone give a tip on where to look further to write for later use in database such a field added to Shopware 6 form via form template:

{% block cms\_form\_newsletter\_input\_company\_name %}  
{% sw\_include ‚@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-input.html.twig‘  
with {  
fieldName: ‚companyName‘,  
additionalClass: ‚col-md-4‘,  
label: ‚newsletter.labelCompanyName‘,  
placeholder: ‚newsletter.placeholderCompanyName‘  
}  
%}  
{% endblock %}
