I want to drive the appearance of a push button or commandbutton based on whether or not a check box is selected on my Active Server Page. I am trying to use the button's visible property, but nothing happens. I can access the button control, because I am able to change what the button says based on this. Any ideas where I am going wrong?
Here is the VBScript Sub that I am trying to use:
Sub OriginatorPDM_onclick()
If (Document.FrontPage_Form1.OriginatorPDM.Checked = True) then
Document.FrontPage_Form1.B0.Visible = True
Document.FrontPage_Form1.B0.Value = "Save/Continue"
else
Document.FrontPage_Form1.B0.Visible = False
Document.FrontPage_Form1.B0.Value = "No Go!"
end if
End Sub
Thanks!
Janet
Here is the VBScript Sub that I am trying to use:
Sub OriginatorPDM_onclick()
If (Document.FrontPage_Form1.OriginatorPDM.Checked = True) then
Document.FrontPage_Form1.B0.Visible = True
Document.FrontPage_Form1.B0.Value = "Save/Continue"
else
Document.FrontPage_Form1.B0.Visible = False
Document.FrontPage_Form1.B0.Value = "No Go!"
end if
End Sub
Thanks!
Janet