CdnGal
03-04-2003, 05:34 AM
Hi, All
I can't seem to find help on this hopefully "simple" problem. (I'm a newbie) I'm using VB, and the pages I'm using are .asp pages. All I want to do is when my form is presented to the user to fill in, I want the date (today's date) to appear so they don't have to fill it in. Can someone tell me how to do this. All I can find is big blocks of code, and think it should be MUCH easier than this. Here's part of my code. The page functions fine, all I want is to have today's date appear in the text box where the date would normally be filled in by the user.
Thanks!
<form name="frmSPLAddData" method="GET" action="logbooksave.asp">
<table>
<tr>
<td align=right>Date (MM/DD/YY):</td>
<td><input type="text" name="txtQ1" size="15" value='' tabindex="1"></td>
</tr>
<tr>
<td align=right>Name</td>
<td><input type="text" name="txtQ2" size="15" tabindex="2"></td>
</tr>
<tr>
I can't seem to find help on this hopefully "simple" problem. (I'm a newbie) I'm using VB, and the pages I'm using are .asp pages. All I want to do is when my form is presented to the user to fill in, I want the date (today's date) to appear so they don't have to fill it in. Can someone tell me how to do this. All I can find is big blocks of code, and think it should be MUCH easier than this. Here's part of my code. The page functions fine, all I want is to have today's date appear in the text box where the date would normally be filled in by the user.
Thanks!
<form name="frmSPLAddData" method="GET" action="logbooksave.asp">
<table>
<tr>
<td align=right>Date (MM/DD/YY):</td>
<td><input type="text" name="txtQ1" size="15" value='' tabindex="1"></td>
</tr>
<tr>
<td align=right>Name</td>
<td><input type="text" name="txtQ2" size="15" tabindex="2"></td>
</tr>
<tr>