Verwendung: Formular absenden per Klick, statt mit Enter

Jörg's Avatar

Jörg

13 Mar, 2024 09:34 AM

Produkt: Oneo Contao
Contao-Version: 4.9.31

Guten Tag,
wir haben immer wieder das Problem, dass Kunden beim Ausfüllen des individuellen Textes im Formular die Enter-Taste drücken, um einen Absatz einzufügen. In dem Moment wird aber das Formular bereits weggesendet. Kann man dies unterdrücken? Dass nur per Klick das Formular versendet wird?

  1. Support Staff 1 Posted by RockSolid Theme... on 13 Mar, 2024 04:20 PM

    RockSolid Themes's Avatar

    Vielen Dank für Ihre Frage.

    Für solche Felder verwenden Sie am besten den Feldtyp „Textarea“ anstatt „Textfeld“. Textarea ist für mehrzeilige Texte gedacht und somit wird durch die Enter-Taste in diesen Felder kein Versand des Formulars ausgelöst.

  2. 2 Posted by Jörg on 13 Mar, 2024 05:47 PM

    Jörg's Avatar

    Pefekt... Herzlichen Dank!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac