5

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]

enter image description here

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?

Murta
  • 26,275
  • 6
  • 76
  • 166
  • @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 '14 at 01:37

0 Answers0