Want to write more than one line in form box

I want to let people type in the last box with many text message, but the box only let you put one line.


Here is my site Read-Only: Webflow - ADORE
(how to share your site Read-Only link)

Hey @Chang_Keang, you can use the text area element instead of the input element. You can adjust the height of the element and show as many as lines as you need.
Screen Shot 2020-06-06 at 23.56.16

1 Like

@dennyhartanto Oh I got it! Thank you so much!!!

@dennyhartanto I tried it but when you write a line and you want to started a new line by enter isn’t possible. So I have to type full line to enter to the new line. Please check the video

Same issue here :S

I can’t figure out how to make it so the user can Shift+Enter to get a new line

1 Like

Hey! Looks like this snipper does the trick!

function log(text) {
    var txtArea ;

    txtArea = document.getElementById("txtDebug") ;
    txtArea.value +=  text + '\r\n';
}

Found it here: javascript - How to add line breaks to an HTML textarea - Stack Overflow

As indicated by another post, this wont work in page preview, but should be OK once site is published.