Re: Using [showif] within [lineitems] [code fragment]
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 29397
interpreted = N
texte = On 3/21/00 10:58 AM, Derrick Puckett at derrick@buyonline.nl wrote:> Have you tried this with an inherently true statement? For> example [showif 1=1].Of course, this does work, and the obvious, [showif 1=2] doesn't.> If that resolves and your [showif [texta]=whatever]> doesn't, there may be some unwanted spaces or invisible characters at the end> or beginning of your name strings. Check your database in an editor that> displays invisibles.The database appears fine-- just tabs and newlines. and check your orderfile to assure that [texta] is in> fact properly set. You should also make sure your [lineitems] context is> nested within an [orderfile] context that refers to the correct cart location.I can place a bare [textA] into the [lineitems] and it does thesubstitution. It's the showif processing that's killing it.-- Andrew Vernonavernon@dramatols.net-------------------------------------------------------------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
Associated Messages, from the most recent to the oldest:
On 3/21/00 10:58 AM, Derrick Puckett at derrick@buyonline.nl wrote:> Have you tried this with an inherently true statement? For> example [showif 1=1].Of course, this does work, and the obvious, [showif 1=2] doesn't.> If that resolves and your [showif [texta]=whatever]> doesn't, there may be some unwanted spaces or invisible characters at the end> or beginning of your name strings. Check your database in an editor that> displays invisibles.The database appears fine-- just tabs and newlines. and check your orderfile to assure that [texta] is in> fact properly set. You should also make sure your [lineitems] context is> nested within an [orderfile] context that refers to the correct cart location.I can place a bare [textA] into the [lineitems] and it does thesubstitution. It's the showif processing that's killing it.-- Andrew Vernonavernon@dramatols.net-------------------------------------------------------------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
Andrew Vernon
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 with WebCat-Plugin (1997)
Dates - Search and Sorting (1999)
Secure server question (1997)
[protect] on NT? (1997)
HTML encoding in URLs (1997)
Form Submition (2003)
(1997)
suffix mapping for NT? (1997)
member access (2000)
[WebDNA] [WSC] WebDNA Development Summit (2014)
Checkboxes (1998)
TPC Connect (1999)
Variable Sizes, Widths and Colors (2000)
Storebuilder documentation (2004)
Using Applescript to process WebCatalog functions (1998)
math variable security (2000)
SetMIMEHeader ATTN:John P. (2001)
WebDNA Feature Request (2006)
Custom Shipping Charges (1997)
WebCat2: multiple currency support (1997)