Hi there,
I have the following code in a submission form:
<script>
window.onload=function(){
if (document.getElementById("InsertRecordPalmas").checked)
{var new_value = "Palmas";}
else
{var new_value = "AAA";}
document.getElementById("cbParamVirtual1").value=new_value;
}
</script>
This code puts a certain value on Virtual1 (which is a TextBox) depending on whether Palmas Check Box is checked or not. It works perfectly, but it stops working when I turn the Submission Form into a Detail Report. I know is not the "onload" because I tested it without the if statement and