What is the best approach to handle when a field is not able to be found on the form. I am working with faxed images which the quality is sometime poor. This causes fields to sometime not be found on the form. I want to make sure that when a field is not found, the field is presented to a verifier, so they can find the field on the form and manually key the data. I know that you can select show unmatched fields, however this only marks them as informational and the batch can still be exported with out it being presented to a verifier. I want to force this condition to be an error until the field in question has been verified. (I also may want to be able to exclude a few fields from this check, however if necessary I can handle these exceptions via scripting if necessary on the few fields that I need to exclude.
I tried a simple script like below which works, however I have over 100 fields and was looking for other options. Are there other options other then doing this with a script?
if me.isMatched = False and me.IsVerified = False Then
me.CheckSucceeded = False
me.ErrorMessage = "Field Zone Not Found. Please manually key field"
End If
I tried a simple script like below which works, however I have over 100 fields and was looking for other options. Are there other options other then doing this with a script?
if me.isMatched = False and me.IsVerified = False Then
me.CheckSucceeded = False
me.ErrorMessage = "Field Zone Not Found. Please manually key field"
End If
コメント
3件のコメント
I assume you are using FlexiLayout form for Document Definition since "fields are not found" was mentioned.
Unfortunately I cannot provide any precise solution without seeing the documents, but the following might help to improve the result:
1)Replace Character strings with Regions. It might help to find more fields but they will likely still need verification.
2)Place more Static text elements(not only local Keyword that might be blurred or not printed at all in some cases). Using several nearby Static text elements will increase the chance that a given field will be found.
Sample script describing logic:
Let a=kwGroup.KeyWord1;
Let b=kwGroup.KeyWord2;
if (a.Isfound) then
{
above(a.Bottom+a.Rect.Height*0.5);
below(a.Bottom);
leftof(a.right+a.Rect.Width*0.6);
rightof(a.Left-a.Rect.Width*0.1);
}
else if (b.IsFound) then
{
below(b.Bottom+b.Rect.Height);
above(b.Bottom+b.Rect.Height*1.2);
leftof(b.Left-b.Rect.Width*1.55);
rightof(b.Left-b.Rect.Width*5);
}
else if (a.IsNull and b.IsNull) then Dontfind; /*this is added in case you don't want to see a lot of wrong regions. makes it easier to navigate through badly recognized pages*/
3)Replace dots(+70dt) with Rect.Width\Rect.Height values since
a)DPI may vary and dots will describe most search areas improperly.
b)Image scaling\placement can also be different and values relative to already found elements are more reliable.
4)Try using larger text as static.
5)Increasing Error percentage in Static text elements' properties can sometimes help as well but this has a side effect of Static text being matched to another irrelevant text if % is too high.
Hope that helps,
Vladislav
Thank you for your advice on how to reduce the fields are not found condition. I am already using several of these techniques, however the issue is that some of the images are just extremely poor quality and even the most reliable fields are not able to be reconized. The majority of the images are working fine, however sometimes there will be a really bad image, and I am looking for a way to make sure all of the fields for the bad quality image are flagged to force a verifier to manually enter the data when the field region is not able to be found which results in the fields are not found condition. The Data verifier station will show information messages about this conditions, however I need a way to force the verifier to verify the field when this occurs. If anyone else has any suggestions I would greatly appreciate any suggestions.
Thanks
Dirk
There is a way to force operators to verify every field: Project-Project properties-Stage tools-Verification stage-Edit-Add event-On closing document. Then click Edit script while appropriate event is selected.
Script should check every field recursively and CanClose=false if check wasn't successful. Example: if it is IsMatched && IsVerified or Field.Text!="" && Field.IsVerified etc. In that script you can also customize messages to operators(e.g. what fields need verification).
Hope that helps,
Vladislav
サインインしてコメントを残してください。