Validation of text fields
From: GaryB (gb_at_prodsol.co.nz)
Date: 11/30/04
- Next message: Sue Mosher [MVP-Outlook]: "Re: Setting Default Message Form"
- Previous message: Rex Gibson: "Multiple "Collections" of Attachments"
- Next in thread: Sue Mosher [MVP-Outlook]: "Re: Validation of text fields"
- Reply: Sue Mosher [MVP-Outlook]: "Re: Validation of text fields"
- Messages sorted by: [ date ] [ thread ]
Date: 30 Nov 2004 13:08:59 -0800
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
- Next message: Sue Mosher [MVP-Outlook]: "Re: Setting Default Message Form"
- Previous message: Rex Gibson: "Multiple "Collections" of Attachments"
- Next in thread: Sue Mosher [MVP-Outlook]: "Re: Validation of text fields"
- Reply: Sue Mosher [MVP-Outlook]: "Re: Validation of text fields"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|