on 06-26-2006 8:07 AM
Hi All,
How I do to restrict the number of characters of TextEdit component that can be entered?
I have tried to create a simple data type with maximun length, but don't work with TextEdit. This work fine with InputField component.
How I do to solve this issue?
Regards,
Luciano
Suresh,
I'm using NW 2004 Java and the NW Developer Studio, both SP16.
Thanks,
Luciano
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for all replies!!!
I was seeing this problems, but I wasn't sure.
I think that the solution is make the validation when the user send this data to the server.
Regards,
Luciano
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Luciano,
WD HTML Client uses corresponding HTML controls for rendering. So, <INPUT TYPE="TEXT" / > has attribute "maxlength", however <TEXTAREA> has not.
So it is impossible to solve this issue unless WD team enhances rendering code.
Anyway, you should receive validation error when data (that exceeds limit) is submitted.
VS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Luciano,
I think you cannot restrict maximum charater length using simple type. but when your are going for server action it will throw error message as you have exceeded the maximum length of TextEdit.
Regards
Suresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.