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:

error count with $purchase (1997) WebCat2b13MacPlugin - [math][date][/math] problem (1997) Public beta 2 for WebCatalog 4.0 is now available. (2000) Ampersand Character (&) (1997) Location of Browser Info.txt file (1997) can anyone confirm this behavior? (2003) POS (2000) What changes does $purchase make? (1998) [WebDNA] Faceebook / Twitter links (2011) using WC to create a DB online (2000) Formating found categories (1997) Javascript Stored in a Database (2003) Spaces causing netscape to act weird . . . (2002) Browser Info.txt -- newest additions? (1997) quantity limit (1998) WebMerchant - MacAuthorize (1999) SiteBuilder (2004) XMLNodes Error (2007) serial number generation (1997) New Web Site Developers Database (1996)