Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] Exclude hidden fields within summary pages and mails
Add a "renderingOptions" property called "_isHiddenFormElement" to prevent form elements from being shown within summary pages and emails. Resolves: #81770 Releases: master, 8.7 Change-Id: Iea3232879fc2be2cae00e5ed5cea565e68e192f3 Reviewed-on: https://review.typo3.org/56359 Reviewed-by: Björn Jacob <bjoern.jacob@tritum.de> Tested-by: Björn Jacob <bjoern.jacob@tritum.de> Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de> Tested-by: TYPO3com <no-reply@typo3.com> Reviewed-by: Kay Strobach <typo3@kay-strobach.de> Tested-by: Kay Strobach <typo3@kay-strobach.de> Reviewed-by: Benjamin Kott <benjamin.kott@outlook.com> Tested-by: Benjamin Kott <benjamin.kott@outlook.com>
- Loading branch information
1 parent
197db50
commit fb6715b
Showing
7 changed files
with
82 additions
and
1 deletion.
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
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
32 changes: 32 additions & 0 deletions
32
...tion/Config/proto/formElements/formElementTypes/Hidden/_isHiddenFormElement.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,32 @@ | ||
renderingOptions._isHiddenFormElement | ||
------------------------------------- | ||
|
||
:aspect:`Option path` | ||
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Hidden.renderingOptions._isHiddenFormElement | ||
|
||
:aspect:`Data type` | ||
bool | ||
|
||
:aspect:`Needed by` | ||
Frontend | ||
|
||
:aspect:`Overwritable within form definition` | ||
Yes | ||
|
||
:aspect:`form editor can write this property into the form definition (for prototype 'standard')` | ||
No | ||
|
||
:aspect:`Mandatory` | ||
No | ||
|
||
:aspect:`Default value (for prototype 'standard')` | ||
.. code-block:: yaml | ||
:linenos: | ||
:emphasize-lines: 3 | ||
Hidden: | ||
renderingOptions: | ||
_isHiddenFormElement: true | ||
:aspect:`Description` | ||
Internal control setting to define that the form element is not visible within the summary page and emails. |
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
32 changes: 32 additions & 0 deletions
32
...on/Config/proto/formElements/formElementTypes/Honeypot/_isHiddenFormElement.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,32 @@ | ||
renderingOptions._isHiddenFormElement | ||
------------------------------------- | ||
|
||
:aspect:`Option path` | ||
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Honeypot.renderingOptions._isHiddenFormElement | ||
|
||
:aspect:`Data type` | ||
bool | ||
|
||
:aspect:`Needed by` | ||
Frontend | ||
|
||
:aspect:`Overwritable within form definition` | ||
Yes | ||
|
||
:aspect:`form editor can write this property into the form definition (for prototype 'standard')` | ||
No | ||
|
||
:aspect:`Mandatory` | ||
No | ||
|
||
:aspect:`Default value (for prototype 'standard')` | ||
.. code-block:: yaml | ||
:linenos: | ||
:emphasize-lines: 3 | ||
Honeypot: | ||
renderingOptions: | ||
_isHiddenFormElement: true | ||
:aspect:`Description` | ||
Internal control setting to define that the form element is not visible within the summary page and emails. |