this.enabled = !thisform.chkbox.valueand in the check box I have:
thisform.textbox1.refresh() thisform.textbox2.refresh()now if I add a new control which depends on this checkbox I'll have to code two places again. Any way I can co-ordinate things well from one place and fixed codes in say for eg. the checkbox, so when I add a new control I have to change at one place to get the desired effects.