[TYPO3-english] TYPO3 6.2: problems with setting up Formmail (tx_form), empty mails sent

Bert Hiddink [BENDOO e-work solutions] hiddink at bendoo.nl
Thu Sep 18 10:33:33 CEST 2014


Hello,

The same problem was reported here:
http://www.typo3forum.net/forum/typo3-extensions/74501-kontakt-formular-form-schickt-leeres-mail-error-end-div-tag.html

Any ideas how to resolve this?

Thanks!
Bert

On 18-09-14 10:26, Bert Hiddink [BENDOO e-work solutions] wrote:
> Hello,
>
> Seems to me that the "Default TS form" which is there with tx_form is
> somehow incompatible with the bootstrap_package from the Introduction
> package...
>
> In the root-template, 3 static templates are included (in this order):
> CSS Styled Content
> Bootstrap Package
> Default TS (form)
>
> In this order, mails are send properly with the contents of the send
> form in the mail BUT the Frontend form gets distorted...If I change the
> order to:
> CSS Styled Content
> Default TS (form)
> Bootstrap Package
>
> ...the frontend Form looks as expected (following the CSS from
> Bootstrap) but the mails are not send correctly (content of mailform is
> not included in mail)...
>
> Any ideas how to resolve this?
>
> Thanks in advance!
>
> Regards,
> Bert
>
>
> On 18-09-14 09:51, Bert Hiddink [BENDOO e-work solutions] wrote:
>>
>> Hello,
>>
>> I am having problems with setting up a standard Formmail with tx_form
>> (see below for code)...
>>
>> The message which I receive is almost empty and contains some error code
>> "<error/>" (see below)...
>>
>> When I set "confirmation=1", I get a distorted confirmation page...
>>
>> Any idea what could be wrong?
>>
>> Thanks in advance!
>>
>> Regards,
>> Bert
>>
>>
>>
>>
>> prefix = tx_form
>> confirmation =
>> postProcessor {
>> 1 = mail
>> 1 {
>> recipientEmail = bert.hiddink at gmail.com
>> senderEmail = bert.hiddink at gmail.com
>> }
>> }
>> 10 = FIELDSET
>> 10 {
>> 10 = TEXTLINE
>> 10 {
>> name = name
>> label {
>> value = Name
>> }
>> }
>> 20 = TEXTLINE
>> 20 {
>> name = email
>> label {
>> value = E-Mail
>> }
>> }
>> 30 = TEXTAREA
>> 30 {
>> cols = 40
>> rows = 5
>> name = enquiry
>> label {
>> value = Your enquiry
>> }
>> }
>> 40 = CHECKBOX
>> 40 {
>> name = get-in-touch
>> value = yes
>> label {
>> value = Do you want us to get in touch?
>> }
>> }
>> 50 = SUBMIT
>> 50 {
>> name = submit
>> value = Send Feedback
>> }
>> }
>> rules {
>> 1 = required
>> 1 {
>> breakonerror= 0
>> showMessage = 1
>> message = *
>> error = This field is required
>> element = name
>> }
>> 2 = required
>> 2 {
>> breakonerror= 0
>> showMessage = 1
>> message = *
>> error = This field is required
>> element = email
>> }
>> 3 = email
>> 3 {
>> breakonerror= 0
>> showMessage =
>> message = (john.doe at domain.com)
>> error = This is not a valid email address
>> element = email
>> }
>> 4 = required
>> 4 {
>> breakonerror= 0
>> showMessage = 1
>> message = *
>> error = This field is required
>> element = enquiry
>> }
>> }
>>
>>
>>
>>
>>
>> <error/> </div> </div> </div> <div class="csc-form-6 csc-form-element
>> csc-form-element-checkbox"> <div class="form-group"> <div
>> class="col-sm-offset-3 col-sm-9"> <div class="checkbox"> <input/> </div>
>> <error/> </div> </div> </div> </div> </fieldset> </div> </div> </table>
>> </body> </html>
>



More information about the TYPO3-english mailing list