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

Question

Question

Spaces occur in fields with contraints in Scanning Basic mode

asked on May 4, 2016 Show version history

When using the Laserfiche Scanning software in Basic mode spaces show up if fields that have constraints with using the mouse to move into the fields.

Here are the details...

  1. From Web Access select the Scan button.
  2. Choose Basic Mode.
  3. We have a template the contains a field that requires 5 digits to be entered (see attachment)

 

When we use the mouse to move into that field there are already 5 spaces in the field and we have to press the backspace 5 times before we can enter the correct value.

When we tab into the field the spaces are not added, only when using the mouse.

The field with the problem is defined as type "Text".

The behavior started when we added the constraint.  We have other fields that have constraints where we do not see this behavior.  

Could it be the specific regular expression in the constraint that is causing the problem?  Is there another regular expression I can try that will force 5 digits to be entered in the field?  Is there something we can do to fix this or is this a behavior that cannot be changed?

 

2016-05-04_12-05-10.jpg
0 0

Answer

SELECTED ANSWER
replied on May 4, 2016

For better or for worse, Scanning is trying to provide a "mask" of the constant parts of the field, leaving the parts for data input blank.  This makes more visual sense with something like a social security number, where the hyphens that separate the groups of numbers would be visible even if the rest of the field was empty.  It also means that the placeholder spaces are present in the field, which as you noticed causes mouse clicks into the right portion of the field to put the cursor at the end of the existing "value".  (I suspect that if you were to click at the very left edge of the field, the cursor would appear there).

The good news, such as it is, is that Scanning only tries to do this for fields where the constraint is of a constant width, and it's not particularly smart about making that determination.  A constraint of \d{5,5} should be equivalent to \d{5} but avoid the behavior you're seeing.

2 0

Replies

replied on May 4, 2016

Have you tried remaining the constraint and seeing if spaces are still there? If they are not then maybe try some other constraint like /d/d/d/d/d or maybe set fields length to 5 and see if that will do the trick or maybe default value null or something.

0 0
replied on May 4, 2016

It is caused by the constraint.  When I remove the constraint the problem does not occur. 

I did try setting the constraint to \d\d\d\d\d and same issue occurred. 

I have the field length set to 5 to give but that won't give us what we want.  We want to require to *always* enter 5 digits

How do I set the default value to null?

0 0
replied on December 5, 2018

Has there been an identified resolution for this?  I'm having the same issue.

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

Sign in to reply to this post.