HasRuleError Message

  • Last Post 2 weeks ago
samir waikar posted this 5 weeks ago

Hi, i want to show a value in a field "ABC" as "true", if another field "PQR" has rule error and when that rule error is cleared, then value in "ABC" should become "false". Can anyone tell me

Order By: Standard | Newest | Votes
Vladimir Dimitrijevic posted this 2 weeks ago

Hi Samir,

In case that PQR field has script rule, then you can change value of ABC field directly from that script. Otherwise, I am not sure that this is possible using script rule in document definition.

Best regards,

samir waikar posted this 2 weeks ago

Hi vladimir, i tried to change value of "ABC" directly from "PQR" field which has a rule error. It works correct when documents are recognised first time and rule error is there. But when rule error is cleared for "PQR" field, field "ABC" is not changing its value. The value is still as it was before. Please try yourself also and let me know.

Ekaterina posted this 2 weeks ago


You may try to use Using scripts in ABBYY FlexiCapture > Scripts for processing interface events > Event handlers > On Field Control Activate and On Field Control Deactivate events.

samir waikar posted this 2 weeks ago

Hi Ekaterina, can you give any sample script to access fields in Ifield enviroment. Is it like, "Document.field ("Invoice Layout\\InvoiceNumber") or how?