Re: formulas.db
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 22443
interpreted = N
texte = >I am using this in my formulas.db>If [textB]=web then no shipping charges.>>[hideif [orderfile>cart=[cart]][lineitems][textB][/lineitems][/orderfile]=web][showif>[orderfile cart=[cart]][Header9][/orderfile]=Other]29.99[/showif][/hideif]Sorry Michael, but it looks like this is a bug in the formulas. It seemsthat textB is assigned *after* the formula is evaluated, so the workaroundis to add another form variable (named anything, as long as it's not one ofthe lineitem variables) and use that variable instead of textB in yourcalculations.Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>I am using this in my
formulas.db>If [textB]=web then no shipping charges.>>[hideif [orderfile>cart=
[cart]]
[lineitems][textB][/lineitems][/orderfile]=web][showif>[orderfile cart=
[cart]][Header9][/orderfile]=Other]29.99[/showif][/hideif]Sorry Michael, but it looks like this is a bug in the formulas. It seemsthat textB is assigned *after* the formula is evaluated, so the workaroundis to add another form variable (named anything, as long as it's not one ofthe lineitem variables) and use that variable instead of textB in yourcalculations.Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
PCS Technical Support
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:
Problems reading files created by WC (1997)
Thanks for tips, more quest (1997)
emailer w/F2 (1997)
[WebDNA] testing (2012)
Counting files (1998)
WebCatalog Technical Reference (1997)
Images in the page without using separate image files ... (2003)
Appligent PDFs (was: OT - Dig Sigs) (2004)
emailer and bad addresses (1997)
AppleScript/.db (was:FTP to WebStar) (2001)
using showpage and showcart commands (1996)
using listfiles to build a database? more (2000)
Bad card db - *mislabled post* (1999)
Requiring that certain fields be completed (1997)
Shopping Cart ID (1998)
[WebDNA] authorize.net / payeezy FirstData (2019)
Reading through the Order File (1999)
WC2b15 - [HTMLx]...[/HTMLx] problems (1997)
Sku numbers (1997)
[WebDNA] linux linux linux (2009)