Hide and unhide as set of controls when a check box is clicked

I want to enable and disable a set of controls like button, text etc depending on the value of the checkbox checked or not…

Can any one please help with some code…

Subject: Hide and unhide as set of controls when a check box is clicked

Hi

In this case you can write code in javascript.

place the controls in div tag and onclick of checkbox make div tag visible or hidden

For eg.

in function use this

document.getElementById(‘div1’).style.visibility = “visible”

Subject: RE: Hide and unhide as set of controls when a check box is clicked

I want to write it using Lotus Script or Formula language

thanks for kavitha rao for giving it in javascirpt

Subject: RE: Hide and unhide as set of controls when a check box is clicked

If you are using a web browser, then you should use Javascript.

If you are using the Notes client, then use Hide-When formulas on the elements that you want to hide, and the “Update Fields on keyword change” checkbox in your field that you want to trigger the hiding from.

Charlie.