Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rr-it/614a8f7752703ea2db2875aebd506f41 to your computer and use it in GitHub Desktop.
Save rr-it/614a8f7752703ea2db2875aebd506f41 to your computer and use it in GitHub Desktop.
TYPO3 Powermail Issue on textarea with active confirmation page
diff -ru a/Resources/Private/Templates/Form/Confirmation.html b/Resources/Private/Templates/Form/Confirmation.html
--- a/Resources/Private/Templates/Form/Confirmation.html 2017-08-22 12:03:56.823729265 +0200
+++ b/Resources/Private/Templates/Form/Confirmation.html 2017-08-22 12:23:34.000000000 +0200
@@ -68,7 +68,14 @@
</f:for>
</f:then>
<f:else>
- <f:form.hidden property="{answer.field.marker}" value="{answer.value}" />
+ <f:if condition="{answer.field.type} == 'textarea'">
+ <f:then>
+ <f:form.textarea style="visibility:hidden;position:absolute;" property="{answer.field.marker}" value="{answer.value}" />
+ </f:then>
+ <f:else>
+ <f:form.hidden property="{answer.field.marker}" value="{answer.value}" />
+ </f:else>
+ </f:if>
</f:else>
</f:if>
</f:for>
@rr-it
Copy link
Author

rr-it commented Aug 22, 2017

That is an issue of ext:sourceopt - not of powermail.
See in2code-de/powermail#148

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment