- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
I commonly use a checkbox that is formatted as a circle. It looks like a radio button but you can toggle it on/off. In the attached form I created an exclusion radio button group called 'bestCustomerComparison'. If you toggle 'notApplicable' on, it resets the exclusion group and makes the group 'readOnly'. If you toggle 'notApplicable' off, you can select a radio button in the group.
// form1.page1.subform1.notApplicable::change - (JavaScript, client)
if (this.rawValue == "1") {
xfa.host.resetData("form1.page1.subform1.bestCustomerComparison");
form1.page1.subform1.bestCustomerComparison.access = "readOnly";
}
else {
if (this.rawValue == "0") {
form1.page1.subform1.bestCustomerComparison.access = "";
}
}
Steve