Default values in form fields

D

David

Hi

I hope someone can help me out here.
I'm trying to figure out how to make a form field's
default value the current date.
I've tried the following string to no avail: value="<%=Date
()%>">
Any ideas?

Thanks
David
 
D

David G

Hi David
Try this...
right click on form field
click form field properties
in initial value box type <%=(Date)%>
David G.
 
D

David G

Hello David
Can't seem to show code in this newsgroup. Probably for
security reasons. Go to http//www.buy4sale.net and click
on ASP Help link for example to solve your problem.
David G
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top