Page 1 of 1

limit input in field on web

PostPosted: Tue Jul 07, 2009 5:37 pm
by srowe
How can I limit the number of input characters to a field on the web? Format works in smart client, but not on the web client. I have searched documentation and the forum, but can't find a solution. I don't think I should have to write a function to check the length of each field, but is that the only way?

Re: limit input in field on web

PostPosted: Tue Jul 07, 2009 6:01 pm
by srowe
Reg ex will work, but is there a way to show a message when the length exceeds the limit instead of just coloring the field red?

Re: limit input in field on web

PostPosted: Tue Jul 07, 2009 8:32 pm
by srowe
I found some references on the forum to putting INVALID_INPUT in the global error handler and that seems to be working.

Thanks