Support Article
On-change action does not work correctly for radio buttons
SA-73829
Summary
Actions configured on the Change event for radio buttons are triggered even when the radio button value is not changed.
Error Messages
Not Applicable
Steps to Reproduce
- Configure a section consisting of radio button with options.
- Create an action set for radio buttons such as displaying the section along with a data transform to clear values on the change event.
- At runtime, click the same value on the radio button. The action event on the radio buttons is triggered even when there is no change in the radio button value.
Root Cause
A defect in Pegasystems’ code or rules.
Resolution
Perform the following local-change before applying the data transform to clear the values:
Use a conditional expression to check for a change in the option selected.
Published August 15, 2019 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.