Jon Spivey
4/27/2004 10:01:00 PM
From the original post - "I am using Frontpage 2002, asp, vbscript"
I think the requirement is to populate the date form field only when the
user wants to - ie not automatically. Hence my response to either populate
the date field with javascript when the button is clicked or round trip to
the server to get the date. Important point being the date has to in a
format the database will accept and any client side script has to populate
the form field in a way that will work in any browser - it doesnt make sense
to use IE only code to do something that is easy to do cross browser
VB Script (on the server) doesn't do anything while the page is loading - it
generates html to send to the browser. The browser then loads the page. The
only way to alter the page while it's loading is with client side script -
usally javascript.
--
Cheers,
Jon
Microsoft MVP - FP
Skydolphin wrote:
> For that matter, since you are loading the page from a database
> anyway, why don't you just check to see if the datafield is null and
> then load the text box with the current date as the page is loading.
> Are you using VBScript on the server?
>
> Rhonda