Hello,
I have a javascript on the exit of a field to populate some floating fields I have formated in a certain way..
Script below.
Problem is when I run the "xfa.layout.relayout();" it cuases a bunch of other issues.
How can I only update the floating fields within static text without resetting the visibility of other objects.
Thanks
if (!this.isNull)
{
var num = String(this.rawValue);
num = num.replace(".", "#");
num = num.split("#");
this.parent.A.rawValue = "$";
this.parent.B.rawValue = num[0];
this.parent.C.rawValue = num[1];
}
else
{
this.parent.A.rawValue = "";
this.parent.B.rawValue = "";
this.parent.C.rawValue = "";
}
if (this.parent.C.rawValue == "00") {
this.parent.C.rawValue = "";
}
if (this.parent.C.rawValue == "Empty") {
this.parent.C.rawValue = "";
}
if (this.parent.C.rawValue > 99) {
this.parent.C.rawValue = "";
}
xfa.layout.relayout();