Hi all,
I have a table in my Interactive Form and I need to add a dynamic image for each row of this table according with the URL field of my node, so i've done the steps of the tutorial "Dynamic Non-Interactive PDF Form", adding a image field, setting none for default binding, setting the url field as $record.Images[*].URL and then, adding the following FormCalc expression to initialize the image: this.value.image.href = xfa.resolveNode(this.value.image.href).value;
Well, my node Images return 3 records and when I run the app, the following message returns:
Script failed (language is formcalc; context is xfa[0].form[0].dataSource[0].Images[0].subImageTable[0].subImageRow[0].imageField[0])
script=this.value.image.href = xfa.resolveNode(this.value.image.href).value;
Error: SOM Expression returned list when single result was expected
Script failed (language is formcalc; context is xfa[0].form[0].dataSource[0].Images[0].subImageTable[0].subImageRow[1].imageField[0])
script=this.value.image.href = xfa.resolveNode(this.value.image.href).value;
Error: SOM Expression returned list when single result was expected
Script failed (language is formcalc; context is xfa[0].form[0].dataSource[0].Images[0].subImageTable[0].subImageRow[2].imageField[0])
script=this.value.image.href = xfa.resolveNode(this.value.image.href).value;
Error: SOM Expression returned list when single result was expected
So, anyone here knows how to add a dynamic image to a table row?
Thanks in advance
[]'s