Jump to content
Sign in to follow this  
gaby78

Problem with Validation expression

Recommended Posts

I have 2 fields: Vendor and TicketNbr

The rule is: if Vendor is “PBS” the user must enter a TicketNbr, If vendor is not “PBS” a TicketNbr is optional.

I tried Case (Vendor = “PBS”; Not IsEmpty(TicketNbr)) but it keeps requiring a TicketNbr regardless of what is entered in Vendor. I tried various combinations with Case( ) and If ( ) etc…but nothing worked.

Share this post


Link to post
Share on other sites

Try Case (Vendor = “PBS”; 0; 1 )

Share this post


Link to post
Share on other sites

Hello Mr. Vodka and David:

Thanks for trying to help. I tried both expressions but didn't work. It does not validate; If you enter PBS as Vendor it allows you to move on without entering anything in TicketNbr.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

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