Answered
I wonder if anybody can help me with this problem.
I have two radiobuttons (yes and no) and one textfield.
If I check the radiobutton-yes the textfield appears.
If I check the radiobutton-no I want the textfield to disappear and it should reset at the same time. That works fine.
But here the problem appears: when I click the radiobutton-no, the textfield-yes is being unchecked and the textfield disappears, only the radiobutton-no isnt checked and stays blank.
I use the following script:
if (this.rawValue=="1"){policy.presence="visible"}
else if (this.rawValue=="2"){policy.presence="hidden";
xfa.host.resetData("policy");
}
radzmar
• LoveCycle Blog
Documents you need:
• LiveCycle Designer ES2 Docs