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 #2090 is a reply to message #2089] Fri, 29 May 2009 05:08 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2371
Registered: April 2006
Location: Surrey, UK
Senior Member
The column size attribute is supposed to be checked during the standard field validation, and if the input exceeds this value a standard error message is supposed to be generated. I say "supposed", but due to a bug Embarassed when checking the character encoding this code was skipped. This is fixed in the attached file.

This means that the length of the string can be validated against the column size specified in the data dictionary with standard framework code, so no custom code should be necessary.


 
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: Thu Nov 28 04:04:30 EST 2024

Total time taken to generate the page: 0.01003 seconds