G
GaryB
Hi,
I am trying to validate a text field on a form to the NZ IRD number
format (two digits; hyphen; three digits; hyphen; three digits).
The following validation formula
format([IRD Number], ##-###-####)
generates the following syntax error:
-----------------
Error in Validation formula for "IRD Number" -- the Date Constant is
not valid. Make sure you have entered a valid date in the formula.
-----------------
The following validation formula
format([IRD Number], 12-345-678)
validates
--
(two hyphens) as true. I.e. it forces the hyphens, but doesn't force
the correct number of digits.
Where am I going wrong?
Thanks very much.
Rgds
GaryB
I am trying to validate a text field on a form to the NZ IRD number
format (two digits; hyphen; three digits; hyphen; three digits).
The following validation formula
format([IRD Number], ##-###-####)
generates the following syntax error:
-----------------
Error in Validation formula for "IRD Number" -- the Date Constant is
not valid. Make sure you have entered a valid date in the formula.
-----------------
The following validation formula
format([IRD Number], 12-345-678)
validates
--
(two hyphens) as true. I.e. it forces the hyphens, but doesn't force
the correct number of digits.
Where am I going wrong?
Thanks very much.
Rgds
GaryB