Re: Auto entering Friday's date in a field
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 44489
interpreted = N
texte = Try this...[showif [date %w]=0][text]AddDate=5[/text][/showif][showif [date %w]=1][text]AddDate=4[/text][/showif][showif [date %w]=2][text]AddDate=3[/text][/showif][showif [date %w]=3][text]AddDate=2[/text][/showif][showif [date %w]=4][text]AddDate=1[/text][/showif][showif [date %w]=5][text]AddDate=0[/text][/showif][showif [date %w]=6][text]AddDate=6[/text][/showif][text]Friday=[math date]{[date %m/%d/%Y]}+[AddDate][/math][/text]On 10/29/02 3:09 PM, Pat Visone
wrote:> I have a form that I want to be able to auto enter Friday's date for the> current week in the date field. So for instance when a user goes to fill> out the form for this week, the date field would have 11/1/02, next week it> would have 11/8/02 and so on. Any ideas?> > Thanks! pat---------------------------------------------------------------------Clint DavisWebmaster / Interactive Media SpecialistGray Loon Marketing Group, Inc. http://www.grayloon.com204 Main Street | Evansville, IN 47708 | Phone:812-422-9999----------------------------------------------------------------------------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Try this...[showif [date %w]=0][text]AddDate=5[/text][/showif][showif [date %w]=1][text]AddDate=4[/text][/showif][showif [date %w]=2][text]AddDate=3[/text][/showif][showif [date %w]=3][text]AddDate=2[/text][/showif][showif [date %w]=4][text]AddDate=1[/text][/showif][showif [date %w]=5][text]AddDate=0[/text][/showif][showif [date %w]=6][text]AddDate=6[/text][/showif][text]Friday=[math date]{[date %m/%d/%Y]}+[AddDate][/math][/text]On 10/29/02 3:09 PM, Pat Visone wrote:> I have a form that I want to be able to auto enter Friday's date for the> current week in the date field. So for instance when a user goes to fill> out the form for this week, the date field would have 11/1/02, next week it> would have 11/8/02 and so on. Any ideas?> > Thanks! pat---------------------------------------------------------------------Clint DavisWebmaster / Interactive Media SpecialistGray Loon Marketing Group, Inc. http://www.grayloon.com204 Main Street | Evansville, IN 47708 | Phone:812-422-9999----------------------------------------------------------------------------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Clint Davis
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
WebCatalog 2.1 for NT (1998)
Help! WebCat2 bug (1997)
[WebDNA] shopping sites and the "old commerce tags" (2012)
Resume Catalog ? (1997)
Help! WebCat2 bug (1997)
WebCat2b13MacPlugIn - syntax to convert date (1997)
View order not right (1997)
Interpret Around Contexts? (2000)
Not really WebCat (1997)
creator code (1997)
Server slowing down. (1997)
[WriteFile] problems (1997)
Parse question (2005)
creative use of webcatalog (1998)
oops private message leaked into talk list (1997)
Version 4? (2000)
Converting characters to numbers ... (1997)
WebCat2 - Getting to the browser's username/password data (1997)
[OT] - CyberCash/Verisign (2001)
[sendmail] on NT? (1997)