numero = 22981
interpreted = N
texte = >if you use a [date] tag on a page being shown>using a $showcart or a $purchase then you get the ascii values of the date field>in the shopping cart, and not the variable of the date. You can Kiss Off using>the methods that are documented to work with [date] to show a formatted date.Or you could use an extremely simple work-around, such as setting your date format in the form performing the $showcart and $purchase commands, then pass the formatted date value, by way of a hidden form field, to the next page:Then you can easily use your beloved [today] tag inside your showcart contexts, and they will display exactly what you want ...Sincerely,Ken Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Associated Messages, from the most recent to the oldest:
>if you use a [date] tag on a page being shown>using a $showcart or a $purchase then you get the ascii values of the date field>in the shopping cart, and not the variable of the date. You can Kiss Off using>the methods that are documented to work with [date] to show a formatted date.Or you could use an extremely simple work-around, such as setting your date format in the form performing the $showcart and $purchase commands, then pass the formatted date value, by way of a hidden form field, to the next page:Then you can easily use your beloved [today] tag inside your showcart contexts, and they will display exactly what you want ...Sincerely,Ken Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Kenneth Grome
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...