typo3typo3-12.xtypo3-form

TYPO3 v12 Form problems


I am using the TYPO3 Form extension for my contact form. It is a simple form with input fields name, subject, email and message. Validator for email field is also included. I created a form element on my page and selected the mentioned form. It appears correctly on the screen but there is following problem: When submitting, nothing happens. The page just gets reloaded and that's it. No error messages in the console or in the logs. What is more, the validator for the email input field also does not work. I can enter any string or numbers I want and get no warning that the format is wrong.

Correct finisher for sending emails to a specific email adress is also added. The extension is also added to the template. What am I missing? I have the exactly same form in another TYPO3 installation, but this one has TYPO3 v10 installed. Here, everything works perfectly. When testing the email sending in TYPO3 (v12), everything works fine. A testmail is sent successfully to the entered email.

I would appreciate any hints, what the problem could be or steps that I could try to identify the problem.

Thanks and best regards


Solution

  • Thank you everyone for your answers.

    I finally solved the problem: The form was placed on a subpage in TYPO3. For some reason, the problems above occured. When moving the form onto the root page, suddenly everything worked fine.

    I don't know, why the form does not work on subpages, but moving it to the main page was the solution in my case.

    Best regards