If you are unable to create a new account, please email support@bspsoftware.com

 

How to keep checked Radio Button state after filter the some data from prompts

Started by suri.cognos, 17 Aug 2016 07:37:55 AM

Previous topic - Next topic

suri.cognos

I have two Radio Buttons E and T if i select T  then i will filter the data from search prompt the Checked T state is unchecking i wanna Checked T Radio Button Please find the attached Capture Image u can get some idea

i used this below code for Radio buttons

<script type="text/javascript">

function EnableTrace(){

var form1= getFormWarpRequest();
var listA  = form1._textEditBoxTracingNo;

form1._textEditBoxTracingNo.disabled= true;

document.getElementById('ssSite').style.visibility = "hidden";


}
function EnableDESC(){
var form2= getFormWarpRequest();
var listd  = form2._textEditBoxTracingNo;

form2._textEditBoxTracingNo.disabled= false;

form2._textEditBoxTracingNo.checked= true;

document.getElementById('ssSite').style.visibility = "visible";


           
}
</script>

<Input  type = radio Name = r1 Value = "0"   onclick="javascript:EnableTrace();">E
<Input  type = radio Name = r1  Value = "1"   onclick="javascript:EnableDESC();">T