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

Question

Question

multiple constraints for field metadata

asked on March 7, 2018

Trying to determine how and/or if I can configure a field to have 2 constraint formats.

 

022502-1-003-2000 or 

4035-001-002-0300

Reason, our county has 2 types of parcel number systems, and I'm trying to ensure users enter the correct data but just using one parcel data field.

https://spf.kitsapgov.com/dis/Pages/taxacct.aspx

 

0 0

Answer

SELECTED ANSWER
replied on March 7, 2018

Yes, you can use a vertical bar, |, to denote alternatives in your constraint. 

For your example: \d{6}-\d-\d{3}-\d{4}|\d{4}-\d{3}-\d{3}-\d{4}

2 0

Replies

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

Sign in to reply to this post.