<p>The input field IS the container. You can retrieve the user input by sending it a message, probably aTextField contents. If you really need to store that elsewhere you can do an assignment, like myName := aTextField contents. Finally, put that assignment in the method invoked by the submit button&#39;s onClick handler.</p>

<p>Sometimes it helps to remind yourself that Smalltalk is not Java. Hope this helps.</p>
<p>Gary Dunn<br>
Open Slate Project<br>
<a href="http://openslate.org">http://openslate.org</a></p>
<p><blockquote type="cite">On Apr 24, 2011 6:30 PM, &quot;calcrisk33&quot; &lt;<a href="mailto:rick.m.wallace@gmail.com">rick.m.wallace@gmail.com</a>&gt; wrote:<br><br>I am at the moment putting together a simple UI with Morphic Designer.  I am<br>

struggling to find a way to read in user input.  For example:<br>
<br>
A user inputs a string/number into a text field then presses a button --&gt;<br>
how do I print this to Transcript or save the user input to a variable.  I<br>
am familiar with Java but can not wrap my head around this.<br>
<br>
Any help or a snippet of code would be much appreciated!<br>
Thanks<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://forum.world.st/UI-Reading-In-Text-Field-Input-tp3472564p3472564.html" target="_blank">http://forum.world.st/UI-Reading-In-Text-Field-Input-tp3472564p3472564.html</a><br>
Sent from the Squeak - Beginners mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
</font></blockquote></p>