Home » U++ Library support » LineEdit, EditFields, DocEdit » filtering characters in the EditString [SOLVED...]
filtering characters in the EditString [SOLVED...] [message #2504] |
Sat, 15 April 2006 20:31  |
 |
forlano
Messages: 1207 Registered: March 2006 Location: Italy
|
Senior Contributor |
|
|
Hello,
I miss a feature that I believe it is very useful (maybe it is already present and I was unable to recognize it).
The EditString widget permit to enter a string but sometimes could be useful to prevent the user from entering useseless or dangerous characters. For example if I ask in input a name I would like to prevent the insertion of characters like: ',' '.' ':' ... '1' '2' etc ...
I think could be useful a new method like:
FilterEdit( ",.';" );
where the characters inside the string "..." are not permitted.
Maybe could be useful even some more method to restrict the string input. For example one that convert automatically the entered string in upper case (lower case). One that accept only alphanumeric avoiding all other characters: []()',. etc...
Thank you,
Luigi
[Updated on: Mon, 17 April 2006 05:09] by Moderator Report message to a moderator
|
|
|
Goto Forum:
Current Time: Fri Apr 25 20:25:09 CEST 2025
Total time taken to generate the page: 0.01904 seconds
|