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

KB00010723: Date Regex Expression Validation Error

$
0
0

KB00010723: Date Regex Expression Validation Error

Issue:

The error “Date could not satisfy the validation pattern” (Figure 1) may occur when a date regex expression has been defined in Validation Rules (Figure 2) but is already functioning in Regex Builder (Figure 3). This issue applies only to 2019.2.

Figure 1: Validation Pattern Error

Figure 2: Date Regex Expression in Validation Rules

Figure 3: Regex Builder Screen

 

Solution:

To resolve this issue, implement the following script to set the field value to lower case.

if (currentFieldName.equals("Document Date")){

dlfValueDoc.setText(currentFieldValue.toLowerCase());

This will verify the date format of manual user entry without using the Date regex expression in Validation Rules.

Important: You will need to click Validate twice.

The post KB00010723: Date Regex Expression Validation Error appeared first on Ephesoft Docs.


Viewing all articles
Browse latest Browse all 478

Trending Articles



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