ID:158696
 
Hello, I am making a interface and i am wondering, how do i get text from an input id?
I answered this recently(about three times in a row). Use winget().
In response to Kaiochao
Ok, I looked up in the reference, but i still cant seem to get it to work, can you give me an example?
In response to Neos300
What is the code you're using? It always interests me to see code that is wrong, and should have been educated.
I gave examples in my other post, search for it using "winget author:kaiochao".
In response to Kaiochao
var
name = winget(usr, "name", "text")
id = winget(usr, "id", "text")


Gives me these errors:
DGE Item Editor.dm:3:error:usr:undefined var
DGE Item Editor.dm:4:error:usr:undefined var
In response to Neos300
That would have to go within a proc somewhere. Or, because you're using usr, a verb.
In response to Garthor
Ok.