Re: [CART] inside a [LOOP]
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 11430
interpreted = N
texte = >Is there a way to assign a unique cart# to each record added with an >[append] inside of a [loop] context? Just using id=[cart] results in >multiple records with the same cart#. Right now I am using>>id=[math][cart]*[random][/math]Try id=[cart][index]That will stick an ever-increasing number onto the end of whatever the cart is (the [index] value comes from your [loop] context)Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors =====Pacific Coast Software | WebCatalog Pro, WebCommerce Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
>Is there a way to assign a unique cart# to each record added with an >
[append] inside of a
[loop] context? Just using id=
[cart] results in >multiple records with the same cart#. Right now I am using>>id=
[math][cart]*
[random][/math]Try id=
[cart][index]That will stick an ever-increasing number onto the end of whatever the cart is (the [index] value comes from your
[loop] context)Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors =====Pacific Coast Software | WebCatalog Pro, WebCommerce Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Grant Hulbert
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:
Execute Applescript (1997)
server side includes & webcatalog (2000)
problems with WebCat-Plugin (1997)
WebDNA implementation of MD5 algorithm? (2003)
sort problems....bug or brain fart? (1997)
Conveting Characters to Graphics (1997)
[WebDNA] XML parsing issue with cdata (2012)
Checking for blank form fields (sort of...) (1998)
[WebDNA] [regex] (2015)
WebCatalog 4.0.2rc1 and rc2 crash WebSTAR on quit (2001)
possible, WebCat2.0 and checkboxes-restated (1997)
Loops in increments of .25 (2002)
PHP vs WebCatalog (2000)
Multiple security dbs (1997)
Trouble with carts (2000)
webcat2b12 CGI -- Date comparisons (1997)
RAM variables (1997)
Running 2 two WebCatalog.acgi's (1996)
Adding up line items. (2000)
&fieldsdir=ra truely random?? (2000)