![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello everyone, FM10 adv on Win XP here. I have a field for telephone number and I would like to validate using the Filter function so that anything else than numbers would be filtered out: Filter (phonenum; "0123456789") // where phonenum is a text type All right, it looks short and simple, and indeed it works when I script it but for a reason that I cannot explain, when I put the same formula through valudation by calculation...it does not do anything, I am free to write numbers, letters, or symbols (- @...) with no validation at all. |
#3
| |||
| |||
|
|
FWIW, this validation works on my FMP 8 Adv on OS X.4. Two thoughts, though: a) the Filter function reportedly may have problems if the your start the second parameters with a zero. Try "1234567890". |
|
b) You are free to enter anything; FMP will not validate your input until you commit the record. |
![]() |
| Thread Tools | |
| Display Modes | |
| |