How to disable/gray radio button peoplesoft

How to disable/ gray radio button peoplesoft

By javascript

Disable Radio Button

when disable radio button = N

Place htmlarea in this pag and input thise javascript

<script>
document.getElementById(‘KTB_FLAG’).disabled = true;
</script>

or using code by parameter

KTB_DERIVED.HTMLAREA.Value = GetHTMLText(HTML.HIDE_RD_BTN, “FLAG_N”, “true”);

when HTML.HIDE_RD_BTN

<script>
document.getElementById(‘%bind(:1)’).disabled = %bind(:2);
</script>

Result

Disable Radio Button Javascript

 

Posted in Peoplecode.