VBscript code for html form visibility
Posted on 2008-10-19
I am beginner in vbscript and trying to use it in html forms. I wish to make entry a particular form invisible for entries after a deadline. In the same html documents, I have other information that users can see.
I am attaching the code that is not working. Can anyone help.
if date() > #9-30-2008# then
msgbox "This is after Sep 30 2008. Entry time is over"
msgbox "Please make the entries"
<input type="text" name="fld1">
<input type="text" name="fld2">