Community

if value = "N" then dontfind

HI,

Im using flexilayout studio 11. I have a spot for a checkmark symbol on a document but sometimes it will be a Y or N.

 

 I need it to not be found when it is an "N" becasue this means no.

 

 In the elemnts Advanced post-search relations script I tried using this, but doesnt work.

 

if( SearchElements.Fields.isSWGL.Value == "N" ) then dontfind;

 

I get this error:

 Error: Error in position 6: 'Value' is not a method of type "Object Collection hypothesis", a subelement or a field of element "isSWGL"

 

Any suggestions?

Thanks,

Rob

 

0

Comments

3 comments

  • Avatar
    Ekaterina

    Hello,

    The FLS is intended for marking and extracting regions, not for recognition. We offer you to customize this requirement on the FC level. Please hide this checkmark by IsVisible field’s property.

    0
  • Avatar
    Sunil

    Hi Ekaterina,

    I have created a layout for Survey form which should recognize the Check-marks in Flexi Layout Studio. When i imported this into Flexicapture, it is detecting correct areas but the output is showing as "Multiple items" selected. So i tried to create a layout in FlexiCapture only, and it works well.

    So, i am in a confusion that whether a layout which is created in FlexiLayout for Survey forms can recognize the check-marks or not ??

     

    0
  • Avatar
    Ekaterina

    Hello,

    You should use the fixed form when the location of you regions is rigidly fixed. If the regions are flexible – you should capture them by layout on the FLS level and recognize them on the FC level.

    Please pay attention to the checkmark’s type (on the Recognition tab of field's properties: Auto, Square or Without Frame) and customize validation settings.

    0

Please sign in to leave a comment.