Streaming live at 10am (PST)

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: https://preview.webflow.com/preview/adore?utm_medium=preview_link&utm_source=designer&utm_content=adore&preview=cf793fa1464c265d311af488078b054c&pageId=5e141bdd775c49c7911b2857&mode=preview
(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

@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

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: https://stackoverflow.com/questions/863779/how-to-add-line-breaks-to-an-html-textarea