R
RanaeB
I want to setup a field with two validation rules, but am not having any luck.
For example, I want a number field to only accept numbers greater or equal
to 80000 and be six digits in length. So, I set the validation rules to be:
But, when I enter 080001 for example, it says the validation rules have been
violated.
Is it the leading zero? If so, how can it be changed to accept leading
zeros? Is there another way to string together validation rules? I tried
inserting an "AND" in between the two, but that didn't work either. Is the
Like "######" an incorrect expression for limiting digit length?
I have several other fields formatted as decimals (in order to prevent
rounding) which don't seem to work with the "Like" function either. But, I
need someway to require only a certain number of digits, no more and no less,
will be accepted.
Any help is appreciated!
For example, I want a number field to only accept numbers greater or equal
to 80000 and be six digits in length. So, I set the validation rules to be:
=80000 Like "######"
But, when I enter 080001 for example, it says the validation rules have been
violated.
Is it the leading zero? If so, how can it be changed to accept leading
zeros? Is there another way to string together validation rules? I tried
inserting an "AND" in between the two, but that didn't work either. Is the
Like "######" an incorrect expression for limiting digit length?
I have several other fields formatted as decimals (in order to prevent
rounding) which don't seem to work with the "Like" function either. But, I
need someway to require only a certain number of digits, no more and no less,
will be accepted.
Any help is appreciated!