Support Article
Unable to select radio button with Firefox browser
SA-9691
Summary
Using firefox and attempting to select a radio button, you observe that the radio button controls will not select.
Steps to Reproduce
1. Modify a sction with "YesNoRadioButton" control with in JSP tag.
Root Cause
The root cause of this problem is a defect in Pegasystems code. If you refer to the control within a JSP tag then the code will not work for Firefox updated versions. It was supported untill firefox 33.There are no issue with IE and Chrome browser.
This is not a supported behavior for latest firefox versions. You should call the control directly from property panel. Then it should work. As some Smart Dispute framework have out of the box section where the control is referred with in a JSP tag it is not the good Idea.
Resolution
Please save the “YesNoRadioButton” control on a higher ruleset version and replace the control code with the code below.
<pega:choose>
<pega:when test='$this:isScalar'>
<pega:when test='$this:isBad'> <img src="https://community.pega.com/images/redflag.gif" alt="<pega:reference name='$this-message' mode="NORMAL" />" id="PegaRULESErrorFlag" > </pega:when>
<pega:choose>
<pega:when test='!$mode-input'>
<pega:choose>
<pega:when test='$this-value=="N"'><pega:lookup property="pxRequestor.pyCaption" value="No"/>
</pega:when>
<pega:when test='$this-value=="Y"'><pega:lookup property="pxRequestor.pyCaption" value="Yes"/>
</pega:when>
</pega:choose>
</pega:when>
<pega:otherwise>
</label>
<input type=radio name="<pega:reference name='$this-name'/>" <pega:include name="ClientValidation"/> id="AnsYes" value="Y" style="border:none" <pega:when test="$this-Value == 'Y'"> checked</pega:when>><pega:lookup property='pxRequestor.pyCaption' value='Yes'/>
<input type=radio name="<pega:reference name='$this-name'/>" <pega:include name="ClientValidation"/> id="AnsNo" value="N" style="border:none" <pega:when test="$this-Value == 'N'"> checked</pega:when>><pega:lookup property='pxRequestor.pyCaption' value='No'/>
</pega:otherwise>
</pega:choose>
</pega:when>
<pega:otherwise>
</pega:otherwise>
</pega:choose>
Published June 12, 2015 - 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.