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 you http://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:

    
  1. Re[3]: Weird [blank] interpretation (Kenneth Grome 1999)
  2. Re[3]: Weird [blank] interpretation ( 1999)
  3. Re[2]: Weird [blank] interpretation (Kenneth Grome 1999)
  4. Re[2]: Weird [blank] interpretation (jpeacock@univpress.com 1999)
  5. Re[2]: Weird [blank] interpretation (Maurice Rickard 1999)
  6. Re: Weird [blank] interpretation (Maurice Rickard 1999)
  7. Re: Weird [blank] interpretation (Charles Kline 1999)
  8. Weird [blank] interpretation (Maurice Rickard 1999)
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 you http://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:

DON'T use old cart file! (1997) Wanted: More Math Functions (or, Can You Solve This?) (1997) [WebDNA] Quick Grep question (2009) RE: OK, here goes... (1997) Setting up WebCatalog with Retail Pro data (1996) Calculating multiple shipping... (1997) RE: IIS4b2 and WebCatalog b19 (1997) Problems with [Search] param - Mac Plugin b15 (1997) XML Parse with XML WebDNA Syntax... (2004) [returnraw] and form variables (1998) Browser Reloads and AddlineItem (1997) Two stores, one server (1998) RE: [WebDNA] Crashing again (2008) Multiple download orders of the same product? (1997) Cookies (1999) Web Catalog vs. ICAT (1997) Help formatting search results w/ table (1997) WebCat/CyberStudio Compatibility (1998) WebCat2 several catalogs? (1997) serial number generation (1997)