Quantcast
Channel: Ephesoft Docs
Viewing all articles
Browse latest Browse all 478

KB0010274 How Do You Make An Index Field Optional During Validation

$
0
0

KB Articles

KB Article # 10274

Topic/Category: Validation

Ephesoft Version: 3x, 4x

Issue: How Do You Make An Index Field Optional During Validation?

Analysis:

Say you want to create a regular expression to validate with specific reges rules AND blank values. How would you do so?

Solution:
Combine your regular expression with the regular expression for blank(empty/null) space.
This REGEX will validate BLANK:

 ^\s*$

 

Say you want to accept yes, no or empty space as a validation rule. The following would apply:

 yes|no|^\s*$

 

< Back|KB Main Page | Next KB Article >


Viewing all articles
Browse latest Browse all 478

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>