Re: Weird [blank] interpretation

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 25590
interpreted = N
texte = wrap them in [url]'s the ! in the record is screwing things up. [url] [shiptoaddress1][/url]will fix this problem.- Charles>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 >-- _______________________________________________________________ Charles Kline ckline@macsultants.com WebMaster - eCommerce SpecialistMacSultants Professional Solutions for Computer SystemsPhone# 856-273-3255 Fax# 856-273-3721 ------------------------------------------------------------- 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)
wrap them in [url]'s the ! in the record is screwing things up. [url] [shiptoaddress1][/url]will fix this problem.- Charles>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 >-- _______________________________________________________________ Charles Kline ckline@macsultants.com WebMaster - eCommerce SpecialistMacSultants Professional Solutions for Computer SystemsPhone# 856-273-3255 Fax# 856-273-3721 ------------------------------------------------------------- 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 Charles Kline

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:

Logging purchases (1997) emailer on Windows Beta 18 (1997) [WebDNA] WebDNA 7 (2011) multiple db's (2003) Server Traffic Simulation (1998) [Sum] function? (1997) WebCatalog 3.0.8 is on FTP... (2000) Frames and WebCat (1997) Bug with sendmail under RedHat (2006) Problems with SELECT MULTIPLE (1999) Sort Order on a page search (1997) Resetting a Formvariable (2000) Trouble with formula.db + more explanation (1997) Date problems (1997) [WebDNA] Grep out square brackets? (2010) AAgghh!! Help, please. SSL strikes again. (1997) Sorting error (1997) Universal db access template ... (2002) [Announce] WebCatalog 3.0 Beta Program (1998) Running _every_ page through WebCat ? (1997)