You are viewing limited content. For full access, please sign in.

Question

Question

Way to Not Accept All 0's

asked on July 24

Good Day Fisch Family! 

We have a form that is for staff to input an account number.  We currently have a Regular express for validation of \d{35] in it to make sure that the staff member puts in 35 digits, but is there a way to not accept 35 0's?  The Business Office wants to deny those or give them an error so it can't be accepted.

 

Any help is greatly appreciated!

 

Thank you!

1 0

Answer

SELECTED ANSWER
replied on July 24

You could use the following regex:

Highly recommend using a custom error message as well.

Ex:

Good luck.

3 0
replied on July 24

Hi Troy,

Thank you for the answer, but how do I use the Custom Error Message?  

Thank you!

 

0 0
replied on July 24

In Laserfiche Forms 12

0 0
replied on July 24 Show version history

Here is what I have my custom error messages set to:

1 0
replied on July 24

Thank you all!

1 0
replied on July 24

Excellent! Please remember to mark your question as answered.

Thanks.

0 0

Replies

replied on July 24

Troy beat me to it :)

0 0
replied on July 24
0 0
replied on July 24

Entering a 35 digit account number during data entry seems like a very error prone and tedious requirement.  Is there a database table of active account numbers that can be used to populate a dropdown list?

0 0
replied on July 24

That would make it too easy for someone to select any account number instead of them actually knowing which account to use.

 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.