I'm trying a simple click a radio button to select another radio button. I'm getting this error message:
GeneralError: Operation failed.
XFAObject.rawValue:2:XFA:form1[0]:page2[0]:assocType[0]:RadioButtonList[0]:click
Argument mismatch in property or function argument
Here's my script:
if (this.rawValue == 1) {
page2.wklyHours.RadioButtonList.rawValue
=
3;
else
{
page2.wklyHours.RadioButtonList.rawValue
=0;
}
Thanks,
MDawn
Views
Replies
Total Likes
Hi,
It depends on the bound values for the radio button exclusion group (see Object > Binding palette).
If the radio button exclusion group does not have a bound value of 0, then it would throw an error. If you are trying to clear the radio button exclusion group you set it a string value of zero length.
page2.wklyHours.RadioButtonList.rawValue = "";
Hope that helps,
Niall
Views
Replies
Total Likes
I changed the else statement, but that didn't help. Can you take a look at the form for me? I had this script working on another version of this form and now that I recreated the form, it's not working.
Thanks,
MDawn
Views
Replies
Total Likes
Email it to me!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies