Hi,
I want to know how to access to the fields values using Javascript based on the Document Definition that I create using Abbyy flexilayout so please anyone can help. you may please check in the code below how I tried to do this but it doesn't work!
//WScript.Echo( "Succeeded: 1 " + document.Fields.Blocks.refavi.Value);
//WScript.Echo( "Succeeded: 2 " + document.Fields.Field.Blocks.refavi.Value);
//WScript.Echo( "Succeeded: 3" + document.Fields.Blocks.refavi.Value);
//WScript.Echo( "Succeeded: 4" + document.Fields("refavi").value);
//WScript.Echo( "Succeeded: 5" + document.Fields.Field.Fields.refavi);
//WScript.Echo( "Succeeded: 5" + document.refavi.value);
Best regards.
Comments
3 comments
Hello,
You may use this construction: this.Field("<your field name>").Value
Hi Ekaterina,
I have used the same code in flexicapture; but getting an error as: "No field with name <field name>"
I have that field in my flexicapture document definition.
But am not using flexilayout here.
Please help me to resolve this.
Regards,
Roselin
Hello,
Please provide the screenshot that demonstrate the field on your fields pane and clarify where do you want to place the code.
Please sign in to leave a comment.