Does anybody know a way to limit the number of lines in a multi-line edit text?
I don’t mean limit the number of characters I know how to do that.
I also know how to limit lines based on CRLF… What I mean is, by Word Wrap and by Carriage Return.
I want to stop the end user from adding text outside of the initial visible area, I don’t want the text box to scroll and allow the user to add more text once they reach the initial bottom of the edit text input area.
The reason is, one of our customers has ‘clients’ who add quite a bit of text to an edit text as part of feedback on services (quite opinionated too), using a touch screen kiosk type app.
Some ‘people’ have decided to add additional abusive comments out of sight, that only gets discovered after they have left the terminal and we have been asked to make a modification to the app, to stop people adding more than the displayed text box.
They don’t want users to continue adding text after say 20 lines, irrespective of the character count and width of the text box.
Does anybody have any ideas?
I don’t mean limit the number of characters I know how to do that.
I also know how to limit lines based on CRLF… What I mean is, by Word Wrap and by Carriage Return.
I want to stop the end user from adding text outside of the initial visible area, I don’t want the text box to scroll and allow the user to add more text once they reach the initial bottom of the edit text input area.
The reason is, one of our customers has ‘clients’ who add quite a bit of text to an edit text as part of feedback on services (quite opinionated too), using a touch screen kiosk type app.
Some ‘people’ have decided to add additional abusive comments out of sight, that only gets discovered after they have left the terminal and we have been asked to make a modification to the app, to stop people adding more than the displayed text box.
They don’t want users to continue adding text after say 20 lines, irrespective of the character count and width of the text box.
Does anybody have any ideas?