numero = 13998
interpreted = N
texte = >>Yes, use showif to see if the checkbox was clicked, and addlineitem to add >>the items.>>Would this take place on the same page?No, it can't take place on the same page, because you don't know what's been checked until you get to the next page.>[search db=whittle.db&skusort=1&eqcategorydata=[url][cagetory][/url]]>[founditems]>
>
>
[title]
>
[description]
>
[price]
>
You'd need the NAME and VALUE to be uniqe for each item, otherwise it can't tell the difference between two different checkboxes. In your example, the form variables would look like:add=purchaseadd=purchaseadd=purchaseI think you could probably put an index after the form name, and set the value to the SKUThat way the values would look likeadd1=XYZadd7=ABC_DEFThen you could use [FromVariables] to enumerate the names that begin with addGrant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ====Pacific Coast Software | WebCatalog, WebMerchant11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
>>Yes, use showif to see if the checkbox was clicked, and addlineitem to add >>the items.>>Would this take place on the same page?No, it can't take place on the same page, because you don't know what's been checked until you get to the next page.>[search db=whittle.db&skusort=1&eqcategorydata=[url][cagetory][/url]]>[founditems]>
>
>
[title]
>
[description]
>
[price]
>
You'd need the NAME and VALUE to be uniqe for each item, otherwise it can't tell the difference between two different checkboxes. In your example, the form variables would look like:add=purchaseadd=purchaseadd=purchaseI think you could probably put an index after the form name, and set the value to the SKUThat way the values would look likeadd1=XYZadd7=ABC_DEFThen you could use [FromVariables] to enumerate the names that begin with addGrant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ====Pacific Coast Software | WebCatalog, WebMerchant11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Grant Hulbert
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...