![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
FMP11.2a win I have tried to create a validation for one field. I want to restrict the use of certain keys, namely all upperletters, all lowerletters, all numbers, space, left, right, back and delete All regular ABC etc comes through. All irregular ()[ : (etc) gets blocked. But all irregular ctrl-o or ctrl-l (etc) return strange signs |
#3
| |||
| |||
|
|
FMP11.2a win I have tried to create a validation for one field. I want to restrict the use of certain keys, namely all upperletters, all lowerletters, all numbers, space, left, right, back and delete I have create a custom function and a script. All works well untill the user by accident hits the control-key and an other key at the same time. Some weird signs appear in the textfield. I should think these would get blocked as well? |
#4
| |||
| |||
|
|
On 8/4/2010 4:01 PM, Ursus wrote: FMP11.2a win I have tried to create a validation for one field. I want to restrict the use of certain keys, namely all upperletters, all lowerletters, all numbers, space, left, right, back and delete I have create a custom function and a script. All works well untill the user by accident hits the control-key and an other key at the same time. Some weird signs appear in the textfield. I should think these would get blocked as well? It sounds like you need to trap for Get ( TriggerModifierKeys ) at the top of your case statement, to Exit Script [false] if it's greater than 2. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Howard Schlossberg FM Professional Solutions, Inc. Los Angeles FileMaker Certified Developer Associate Member, FileMaker Business Alliance |
![]() |
| Thread Tools | |
| Display Modes | |
| |