Do you make "Enter" go to the next line when you have a multi-line textbox rather than hit the OK button?

Updated by Brady Stroud [SSW] 1 year ago. See history

123
<introEmbed body={<> If you have a multi-line textbox in a form, you should make the "Enter" key go to the next line in the text box, rather than cause it to hit the OK button. </>} />
Image

❌ Figure: Bad example - "Enter" button causes OK button to be pressed instead of going to next line in the multi-line text box

Image

✅ Figure: Good example - "Enter" button goes to the next line in the text box

It can be done by assigning "True" value to AcceptsReturn and Multiline options in properties bar.

Image

Figure: Developer Notes properties details

Acknowledgements

Adam Cogan
Related rules

Need help?

SSW Consulting has over 30 years of experience developing awesome software solutions.

We open source.Loving SSW Rules? Star us on GitHub. Star