+ Start a Discussion
filmfxfilmfx 

Hiding and displaying fields in a layout

I have an s-control script written and I have it placed in the layout but it still does not seem to be working. The script is below. I am still a bit unclear if I need to put the s-control in a particular place in the layout. Please help.


What i am trying to do here, is if the Account is a production or show, hide a certain field.
head>

<script>
function init()
{
if( "{!Account.Is_this_a_Production_or_Show__c}" = "True" )

document.getElementById('Logger Station Pool').style.display="block";

}

</script>

</head>

RainManRainMan
I need to know this too... looking forward to the answer.  Your attempt would be beautiful if it worked.