Sorry, This is my first time posting and was trying to keep it short. Here is my code:
<script language="
vb" runat="server">
Sub ClickHandler(Sender As Object, E as EventArgs)
If ExtraInfoBox.Checked then
Message.Text = "<br /><br />You will hear from us shortly"
Else
Message.Text = "<br /><br />You will not receive any further" & _
" information from us"
End If
End Sub
</script>
<html>
<head>
<title>Server-side event processing example</title>
</head>
<body>
<form runat="server">
<asp:CheckBox id="ExtraInfoBox" Text=
"Click here to receive extra information" Runat="server" />
<br /><br />
<asp:Button id="Button1" Text="Click Here to Submit" onclick="ClickHandler" runat="server"/>
</form>
</body>
</html>