Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » How To » Restrict the input size of a multi-line text box
Re: Restrict the input size of a multi-line text box [message #2088 is a reply to message #2087] Thu, 28 May 2009 18:19 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2361
Registered: April 2006
Location: Surrey, UK
Senior Member
A multi-lne text box uses the HTML textarea element, and the HTML specification does not allow for any restrictions in the amount of data which may be input by the user. Because of this there is nothing the framework can insert into the HTML document to restrict user input. There is no way to turn off the scroll bar, so you cannot use the numbers of lines and rows to restrict user input.

You can restrict the column size in the data dictionary, but this cannot be checked in the server-side code until after the form has been posted.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Default the select checkbox to 'selected'
Next Topic: Display a message in an ADD2 transaction
Goto Forum:
  


Current Time: Fri Sep 27 17:24:53 EDT 2024

Total time taken to generate the page: 0.01598 seconds