Re: I am dumb. No see [variable]

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 53740
interpreted = N
texte = I now see the light and it makes sense... that said, it *would* be nice if showif/hideif automatically protected itself from stuff like this as you have asked about... I can't believe I've been coding webDNA for 3 years (to the day, a few weeks back) and have never been bitten by this until today. Thanks again for helping me guys, you could have just told me to RTFM, but you didn't. I appreciate that. -Dan On Fri, 31 Oct 2003 10:58:24 +1100 Tim Robinson wrote: >Not 100% sure about the linebreaks... can't remember. > >If you have a linkbreak it would make >[hideif [description]=] > >into > >[hideif this is line 1 >this is line 2=] > >That *may* still work. As the others said, it's probably just an & ! or >something like that. > >Regards, >Tim >-- >Tim Robinson >IDFK Web Developments >tim@idfk.com.au >114a/40 Yeo Street >Neutral Bay 2089 >Australia >Phone +612 9908 2134 >Fax +612 9908 4837 > >> From: "Dan Strong" >> Reply-To: (WebDNA Talk) >> Date: Thu, 30 Oct 2003 15:54:06 -0800 >> To: (WebDNA Talk) >> Subject: Re: I am dumb. No see [variable] >> >> Tim Robinson wrote: >>> As you have [convertchars] round your description field, maybe you had some >>> linebreaks in there. That probably would break the [hideif] comparison if it >>> wasn't URLd. >> >> Tim, >> >> [hideif [DESCRIPTION]=][convertchars][DESCRIPTION][/convertchars][/hideif] >> (Old code, since corrected with [url]...) >> >> I'm positive there were (are) linebreaks in the description field (it comes >> from a