-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Bugfix] Add all form fields to validation setup (#446)
All existing input fields of billing address and shipping address are now included in the validator setup which influences the rendering of the corresponding fields. Solves #383, #445
- Loading branch information
Showing
4 changed files
with
89 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
...ntation/Changelog/9.0/Breaking-445-Include-all-address-fields-in-validation.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
.. include:: ../../Includes.txt | ||
|
||
========================================================= | ||
Breaking: #445 - Include all address fields in validation | ||
========================================================= | ||
|
||
See :issue:`445` | ||
|
||
Description | ||
=========== | ||
|
||
All fields which exists for the billing address and for the shipping address | ||
are now included within the validation array in TypoScript. The fields | ||
`title`, `company`, `taxIdentificationNumber` and `country` were not included. | ||
Including those fields makes it easier and especially more logic to manage | ||
the validation and visibility of those fields. | ||
|
||
Affected Installations | ||
====================== | ||
|
||
By default the fields `title`, `company` and `taxIdentificationNumber` will | ||
not be rendered, the field country will be rendered and required. | ||
|
||
Migration | ||
========= | ||
|
||
See :ref:`validating-and-hiding-fields` how to manage the visibility and | ||
validation of address fields. | ||
|
||
.. index:: Template, Frontend, TypoScript |