Jump to content

Validation


This topic is 7928 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

Hi, i've got a problem here and i hope someone here can help me. I want to make a validation and i want the field allow the user enter a code consisting of 1 or 2 letters in the beginning of it and then 3 digit number after it. Will it be possible to do that and if yes then can someone tell me please.

Link to comment
Share on other sites

Yes, it is possible. To get the effect you want, try entering a validation by calculation formula along the lines of:

Length(YourField) > 3 and Length(YourField) < 6 and TextToNum(YourField) > 99 and TextToNum(YourField) < 1000

You might also want to think about entering a custom validation error message describing the format requirements for the field.

Link to comment
Share on other sites

This topic is 7928 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.