Make Enter create new line break inside InputField [duplicate]

I would like to write multiple lines of text inside an InputField, using ContinuousAction->True to update some variable x (so I don't need Enter).

InputField[Dynamic[x], String, ContinuousAction -> True]


To do the above image, I have to copy and past the text.

The point is, if I press Enter, the standard behavior is to try to update x value. How can I change it in order to make Enter to create a new line break in the text inside the InputField instead of try to evaluate it?

-
@rm-rf Should we change InputField[] into InputField in this? If I look for title:InputField (that was how I look for similar), I can find this question! –  Murta Feb 24 at 1:37
Sure, that might help. I usually search for is:q keyword instead of just the title because most users don't always use a good title. –  rm -rf Feb 24 at 3:13

marked as duplicate by Sjoerd C. de Vries, m_goldberg, bobthechemist, rm -rf♦Feb 24 at 0:06

Perhaps something like this?

text = "";
EventHandler[
InputField[Dynamic@text, String, ContinuousAction -> True],
{"ReturnKeyDown" :> Paste["\n"]}
]

-
Cool!.. Tks I'll wait to accept just to follow the protocols. :) –  Murta Feb 23 at 16:12
text = "";