Weird [blank] interpretation
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 25589
interpreted = N
texte = Here's something very odd. I've got code that checks to see if the shiptoaddress in one of our dbs is blank. If it is, it prints out the billing address and hides the shipping address.The problem is that on one entry, WebCatalog is interpreting the shipto as blank, even when it has data in it.The code:[hideif [shiptoaddress1]=][shiptoname]
[ShipToAddress1]
[hideif [shiptoaddress2]=][shiptoaddress2]
[/hideif][ShipToCity], [shiptostate] [shiptozip] [shiptocountry]
[/hideif][showif [shiptoaddress1]=][name]
[Address1]
[hideif [address2]=][address2]
[/hideif][City], [state] [zip] [country]
[/showif]The one customer for whom this is happening has a shiptoaddress1 that contains this text: Don't open Until Christmas!In other words, if I put a [shiptoaddress1] outside of the hideif, the text string displays on the page. If I look in the db, I see the text string just as I do when it displays--no extra funky characters, no spaces, no weird stuff. Anyone have any ideas what gives?Thanks, Maurice Rickard | GreenMarketplace.com:Director of Creative & Production | Natural Products for youhttp://www.greenmarketplace.com/ | and your planet.-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to
.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:
Here's something very odd. I've got code that checks to see if the shiptoaddress in one of our dbs is blank. If it is, it prints out the billing address and hides the shipping address.The problem is that on one entry, WebCatalog is interpreting the shipto as blank, even when it has data in it.The code:[hideif [shiptoaddress1]=][shiptoname]
[ShipToAddress1]
[hideif [shiptoaddress2]=][shiptoaddress2]
[/hideif][ShipToCity], [shiptostate] [shiptozip] [shiptocountry]
[/hideif][showif [shiptoaddress1]=][name]
[Address1]
[hideif [address2]=][address2]
[/hideif][City], [state] [zip] [country]
[/showif]The one customer for whom this is happening has a shiptoaddress1 that contains this text: Don't open Until Christmas!In other words, if I put a [shiptoaddress1] outside of the hideif, the text string displays on the page. If I look in the db, I see the text string just as I do when it displays--no extra funky characters, no spaces, no weird stuff. Anyone have any ideas what gives?Thanks, Maurice Rickard | GreenMarketplace.com:Director of Creative & Production | Natural Products for youhttp://www.greenmarketplace.com/ | and your planet.-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .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
Maurice Rickard
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:
Fun with dates (1997)
Euro WebDNA Conference (2004)
Nested Loops and SHOWIFs (1997)
[numFound] inside [showIf]? (2000)
A sendmail warning (2005)
Using Applescript to process WebCatalog functions (1998)
addlineitem is not saving a variable. (2004)
Referrer (2000)
cart info (1998)
Summing fields (1997)
Forms-2 actions (2003)
WebCat2b12 - nesting [tags] (1997)
[OT] photos and misc. (2004)
shipping & multiple comparisons? (2000)
2nd WebCatalog2 Feature Request (1996)
How far do [showif]s go? (1997)
Nested tags count question (1997)
database size? (1997)
Formating found categories (1997)
Emailer (1997)