{"identifier":46143,"topic":"Commands","name":"returnInField","text":"<code>returnInField<\/code> <br><br>\n\n The<code> returnInField <\/code>command places a return character at the position of the insertion point in a field.   <br><br>\n\n If the<code> autoTab <\/code>property of the field is <code>true<\/code> <i>and<\/i>  the insertion point is on the last line of the field <i>and<\/i>  the field is any type except scrolling, the<code> returnInField <\/code>command does not insert a return character but instead sends the<code> tabKey <\/code>command to the field. <br>\n<br>\nHyperCard automatically sends the<code> returnInField <\/code>command to a field when the user presses Return and the insertion point is in the field. <br><br>\n\n You can handle the<code> returnInField <\/code>message as follows: <br><br>\n\n <code><pre>on returnInField\n   <i>statements<\/i>\nend returnInField<\/pre><\/code> <br>\n","related":{"17449":"closeField","3428":"Commands sent automatically","19146":"deleteField","36487":"enterInField","19615":"exitField","22421":"newField","23457":"openField","6031":"Where messages are sent initially"},"examples":"","demo":"","debug":{"9":["returnInField\r\rThe r"],"10":["HyperCard automatica"]}}