Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 16
---
title: Added config to make first name, last name and phone number input optional for contact form
issue: NEXT-8058
author: Claudio Bianco
author_email: [email protected]
author_github: @claudiobianco
---
- Added
BuildValidationEvent
inContactFormValidationFactory
in order to change the validation definition via subscriber. - Added
Shopware\Core\Migration\Migration1604499476AddDefaultSettingConfigValueForContactForm
to preserve the default behaviour that first name, last name and phone number are required.
- Added configuration for optional first name, last name and phone number in "Basic information -> Security and Privacy".
- Added check if first name, last name and and phone number input are required or optional in contact form.