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

Question

Question

Trim quick fields long text value

asked on April 5, 2017 Show version history

Good day,

I have a quick fields session for a client and this particular session has a "Description" Zone OCR value. In the Templates, I set the maximum field length to 14 but the Quick Fields is capturing all the text, is there any way that I can trim it to 14 so that I can store the data inside the repository?

 

Thanks in advanced!

0 0

Answer

SELECTED ANSWER
replied on April 6, 2017 Show version history

I have found the answer through a webinar and I can trim or limit the field value by setting this regular expression:

<^[\s\S]{0,14}>

to trim and limit all characters captured by Quick Fields into 14.

1 0

Replies

replied on April 6, 2017

We use a 12 digit loan number but only the last 5 are unique so we file them using Pattern Matching tokens.  Pattern for the last 5 digits in our token is (\d{5})\Z, the Pattern for just the second digit of five is \d(\d)\d\d\d.

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

Sign in to reply to this post.