Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Form - Hit Return for new line in text entry

Started by Muut Archive 9 years ago · 2 replies · 847 views
9 years ago

Hi,

Hitting the "Return" key in the text entry of a form validates the form.
I'm wondering if instead of this behavior, it's possible to add a new line to the text ?

9 years ago

The text field does not allow multiline, it does not depend on Grav but it's a browser/HTML thing.

Use a textarea field.

9 years ago

Oh great !
I missed this one when I read the doc.
Thanks a lot !

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 597 1 day ago
Archive · by Deleted User, 9 years ago
0 2978 9 years ago
Archive · by Muut Archive, 9 years ago
2 1929 9 years ago
Archive · by Muut Archive, 9 years ago
2 5268 9 years ago
Archive · by Muut Archive, 9 years ago
1 4082 9 years ago