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 Davis Webmaster / Interactive Media Specialist Gray Loon Marketing Group, Inc. http://www.grayloon.com 204 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:

    
  1. Re: Auto entering Friday's date in a field (Pat Visone 2002)
  2. Re: Auto entering Friday's date in a field (Donovan Brooke 2002)
  3. Re: Auto entering Friday's date in a field (NovaDerm Skincare Science 2002)
  4. Re: Auto entering Friday's date in a field (Gyuri 2002)
  5. Re: Auto entering Friday's date in a field (Kenneth Grome 2002)
  6. Re: Auto entering Friday's date in a field (NovaDerm Skincare Science 2002)
  7. Re: Auto entering Friday's date in a field (Donovan 2002)
  8. Re: Auto entering Friday's date in a field (Michael Davis 2002)
  9. Re: Auto entering Friday's date in a field (NovaDerm Skincare Science 2002)
  10. Re: Auto entering Friday's date in a field (Michael Davis 2002)
  11. Re: Auto entering Friday's date in a field (Clint Davis 2002)
  12. Re: Auto entering Friday's date in a field (Donovan 2002)
  13. Re: Auto entering Friday's date in a field (Michael Davis 2002)
  14. Re: Auto entering Friday's date in a field (Chris List Recipient 2002)
  15. Re: Auto entering Friday's date in a field (Matthew Bohne 2002)
  16. Re: Auto entering Friday's date in a field (Dan Strong 2002)
  17. Re: Auto entering Friday's date in a field (Michael Davis 2002)
  18. Re: Auto entering Friday's date in a field (Chris List Recipient 2002)
  19. Re: Auto entering Friday's date in a field (Donovan 2002)
  20. Re: Auto entering Friday's date in a field (Donovan 2002)
  21. Re: Auto entering Friday's date in a field (Chris List Recipient 2002)
  22. Re: Auto entering Friday's date in a field (Michael Davis 2002)
  23. Re: Auto entering Friday's date in a field (Donovan 2002)
  24. Re: Auto entering Friday's date in a field (Matthew Bohne 2002)
  25. Re: Auto entering Friday's date in a field (Clint Davis 2002)
  26. Re: Auto entering Friday's date in a field (Alex McCombie 2002)
  27. Re: Auto entering Friday's date in a field (Dan Strong 2002)
  28. Auto entering Friday's date in a field (Pat Visone 2002)
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 Davis Webmaster / Interactive Media Specialist Gray Loon Marketing Group, Inc. http://www.grayloon.com 204 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:

[Listfiles] vs Netfinder (1997) Who is doing sign-ups-got it (1998) Summing a field full of numbers ... (1997) Problems with ^ could be solved with [REPLACE CHARACTERS] (1997) Nested tags count question (1997) mutiple word search in one field (1999) Webcatalog, Webstar and Crasharama (1999) HELP WITH DATES (1997) WebCat2b15MacPlugin - [protect] (1997) Review comparison by PC Magazine: Open for On-line Business (1997) E-mail loop ! (1997) WebCatalog2 Feature Feedback (1996) charging? (2001) RE: Loss in form (1998) Pipes instead of tabs (1998) WebCat2 Append problem (B14Macacgi) (1997) Secure server question (1997) free "Image Viewer" widget (2004) Flag checking (2000) Re:Emailer tracking (1997)