Displaying textfields?

How exactly would I go about displaying textfields in my app?

I keep getting the error “WARNING: Native textfields are not currently supported in the simulator. Please build for device.”
But I’m using a trial version of Corona (its a school project, I’m not going to pay $100 for that).

How would I go about displaying text then?

I have a simple shop, and when the user taps on an item, it should bring up a description of said item. I’m using object parameters for this, so it would be helpful if the textfield was dynamic.

Help? [import]uid: 200198 topic_id: 34168 reply_id: 334168[/import]

If you want to display text then use something like:

local myDynamicTextData = “This is a description of an item in the shop”

local myText = display.newText(myDynamicTextData, 0, 0, native.systemFont, 10)
Note that a display.newTextField is a user input text object (e.g. for typing in a password), it sounds like you just want a display.newText:

http://docs.coronalabs.com/api/library/display/newText.html
[import]uid: 84115 topic_id: 34168 reply_id: 135883[/import]

But this creates one, long line of text. I want a multi-line textfield. [import]uid: 200198 topic_id: 34168 reply_id: 135889[/import]

That is also covered in the link I sent you, but to save you time all you need to do is add the optional width and height arguments to the newText function:

local myDynamicTextData = "This is a description of an item in the shop"  
local widthOfMyTextBox = 200  
local heightOfMyTextBox = 100  
local myText = display.newText(myDynamicTextData, 0, 0, widthOfMyTextBox,heightOfMyTextBox, native.systemFont, 10)  

For anything more complicated you’ll either need to write your own custom functions or find an existing one, I believe there’s a “wrapparagraph” one floating around somewhere. [import]uid: 84115 topic_id: 34168 reply_id: 135890[/import]

If you want to display text then use something like:

local myDynamicTextData = “This is a description of an item in the shop”

local myText = display.newText(myDynamicTextData, 0, 0, native.systemFont, 10)
Note that a display.newTextField is a user input text object (e.g. for typing in a password), it sounds like you just want a display.newText:

http://docs.coronalabs.com/api/library/display/newText.html
[import]uid: 84115 topic_id: 34168 reply_id: 135883[/import]

But this creates one, long line of text. I want a multi-line textfield. [import]uid: 200198 topic_id: 34168 reply_id: 135889[/import]

That is also covered in the link I sent you, but to save you time all you need to do is add the optional width and height arguments to the newText function:

local myDynamicTextData = "This is a description of an item in the shop"  
local widthOfMyTextBox = 200  
local heightOfMyTextBox = 100  
local myText = display.newText(myDynamicTextData, 0, 0, widthOfMyTextBox,heightOfMyTextBox, native.systemFont, 10)  

For anything more complicated you’ll either need to write your own custom functions or find an existing one, I believe there’s a “wrapparagraph” one floating around somewhere. [import]uid: 84115 topic_id: 34168 reply_id: 135890[/import]