Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Radio Buttons loosing focus due to OnClick refresh event



A Section used to set a couple of Radio Buttons isn’t behaving as expected. All the Radio Buttons were configured with OnClick event in order to refresh the Section and display new parts of said Section.
When clicking with the mouse or moving with arrow keys with the clipboard from a Radio Button option to another, the focus is moving unexpectedly to the original selection automatically.

1. A Section is being used which displays 4 different Radio Buttons.
2. Each of those Radio Buttons are having an OnClick event setup to refresh the Section.
3. Clicking from one option to another is firing the refresh but the focus is moving automatically to the original value selected.

Error Messages


Steps to Reproduce

I never managed to reproduce it internally, but the steps are the following supposedly:
  1. Create a Section with multiple Radio Buttons.

  1. Setup OnClick event on each Radio Buttons.

  1. Click on the Radio Buttons

  1. Focus should be lost, moving back to original value.

Root Cause

The Section containing the Radio Buttons was contained within a Section that had refresh rules being evaluated on click of those properties.
This double refresh sort of action was generating the reset of Radio Buttons focus.


A simple local change has been implemented. The double refresh configuration with the explained two Sections wasn’t appropriate and it wasn’t implemented to reach any associated business needs.
So the configuration has been simplified and only one Section has been implemented.
Suggest Edit

Published January 31, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us