Hi,
I am trying to set a XML tag value in the initialize event of a text field.. The code works fine in FormCalc but I needed it to work in java script.
FormCalc:
$record.prospectApplication.typeName = "namedInsured";
Java Script:
xfa.record.prospectApplication.typeName = "namedInsured";
The above JavaScript does not work. Can any one help on this?
Thanks
Srini
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Srini,
In JavaScript you don't get any default properties so you need to say;
xfa.record.prospectApplication.typeName.value = "namedInsured";
That is assign the value to the "value" property not the dataValue object.
Views
Replies
Total Likes
Hi Srini,
In JavaScript you don't get any default properties so you need to say;
xfa.record.prospectApplication.typeName.value = "namedInsured";
That is assign the value to the "value" property not the dataValue object.
Views
Replies
Total Likes
Thank you for your reply. It resolved my issue.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies