Newbies antoniadis stelios Posted June 7, 2007 Newbies Posted June 7, 2007 I have a numeric type field and i want to fill the field with a 4 digit number.if the input of the number is less than 4 digits or bigger than 4 digits i want to allert me that the input is not correct.i have validate the field that the max number of characters is 4.How do i validate the field that the minimum number of characters is also 4?Can anyone help?
LaRetta Posted June 7, 2007 Posted June 7, 2007 If it is a number field, try: numField :great: 1000 and numField :less: 9999 That should take care of it all, if I understand your needs correctly.
mr_vodka Posted June 7, 2007 Posted June 7, 2007 Try a validation by calculation of: Length (Trim ( Yourfield ) ) = 4 or since it is a numberic field, you could use a validation by range from 1000 to 9999
Newbies antoniadis stelios Posted June 7, 2007 Author Newbies Posted June 7, 2007 thanks both of you.all your solutions worked for my problem.thanks again
Recommended Posts
This topic is 6440 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now