Hi,
I want to set a modified flag in the xml data when a field is modified. I added a field for that in the xsd that is bound to the pdf file:
<xs:element name="modifiedFields">
<xs:complexType>
<xs:sequence>
<xs:element name="countryModified" type="xs:int"/>
</xs:sequence>
</xs:complexType>
</xs:element>
And I want to access it when a change event occurs:
salesReport.Page1.ProductNameTableSubForm.ProductNameTable.Row1.country::change - (JavaScript, client)
countryModified = 1; // does not work
$.modifiedFields.countryModified = 1; // does not work
There is no field in the pdf that is bound to countryModified. How can I set the value of the countryModified field without having a field bound to that?
Thanks in advance for your help.
Cheers,
Arne
Solved! Go to Solution.
Views
Replies
Total Likes
Without seeing the entire xml structure I cannot give you the exact syntax but it would be something like this:
xfa.datasets.data.modifiedFields.countryModified.value = 1
Paul
Views
Replies
Total Likes
Without seeing the entire xml structure I cannot give you the exact syntax but it would be something like this:
xfa.datasets.data.modifiedFields.countryModified.value = 1
Paul
Views
Replies
Total Likes
Hi Paul,
thank you very much for that, it works now. It took me some time to realize that this is actually FormCalc and not Javascript (Doh!), though.
Thanks again for your help, I really appreciate that.
Cheers,
Arne
Views
Replies
Total Likes