Display the RETURN key as a new line?

In a form field, if i user decides to hit enter to start new lines, when they submit, they new lines don't start as new lines. There is a whole stream of text.

How do i make it so if the user hits enter during a text field, it dispalys a new line? Thanks

In a form field, if i user decides to hit enter to start new lines, when they submit, they new lines don't start as new lines. There is a whole stream of text.

How do i make it so if the user hits enter during a text field, it dispalys a new line? Thanks

simple_format should do what you want.

thanks phillip, it looks great, but I am really relaly bad at reading API's (especially when im not good with a language)

Could u just explain relaly quick what I need to do to get the bare minimums working? Thanks!

David Zhu wrote:

thanks phillip, it looks great, but I am really relaly bad at reading API's (especially when im not good with a language)

Could u just explain relaly quick what I need to do to get the bare minimums working? Thanks!

You're kidding, right? If you're too lazy to read documentation, why should anyone else do it for you?

Best,

wow marnen, chill ok? I read the API, but its only like 3 sentences, and its not enough info for me to get started. I dont know wehre to put those lines.

But now I understand, I watched one of Ryan Bates tutorials, and in it, one of the things he does is use simple_format

And let me tell u, what the api said is not comprehendible on how to use it. without Ryan B showing us, i would not have gotten it. thanks phillip for telling me about simple_format