Hi, Lawrence. This is from the docs for =[ShowIf]:=3D=3D=3D=3D=3D=3D=3D=3DTip: make sure neither side of the comparison equation =contains any of the special comparison letters listed above. For =example, [ShowIf I'm Friendly! Are you?=3D[question]] contains an =exclamation point inside the sentence being compared, so WebDNA sees =this as "I'm Friendly" is not equal to " Are you?=3D[question]", which =is not what the author meant to compare.The solution =is to wrap each side of the comparison with [URL] contexts, like =this:[ShowIf [URL]I'm Friendly! Are =you?[/URL]=3D[URL][question][/URL]]. This causes any embedded !=3D><= symbols to be converted to their URL equivalents, which can then be =compared correctly.=3D=3D=3D=3D=3D=3D=3D=3DOnce in a thousand years or so a question =is posted that I actually know the answer to=A0 ;-)On Jan 28, 2009, at 9:44 AM, Lawrence =wrote:Hello,I just have a =problem I never noticed.I use the ="classical" showif , hideif to display a result depending on what the =field contains.[showif [myfiled]=3D[blank]] =RESULT[/showif]This is absolutely simple, =except that is the filed [myfiled] contains the caracter "!", nothing =will be displayed...Has any one had this problem? How can it be =solved?ThanksLawrence---------------------------------------------------------<=/div>This message is sent to you because you are subscribed =tothe mailing list <talk@webdna.us>.To unsubscribe, E-mail to: <talk-leave@webdna.us>=div>old archives: =http://dev.webdna.us/TalkLi=stArchive/=--Gil Poulsen, =Mac Wirehead************************AltiM@c Consulting23 Marco Polo =CourtFranklin Park, NJ =08823-1703Voice: 609-359-0103************************---------------------------------------------------------<=/div>This message is sent to you because you are subscribed =tothe mailing list <talk@webdna.us>.To unsubscribe, E-mail to: <talk-leave@webdna.us>=div>old archives: =http://dev.webdna.us/TalkLi=stArchive/=--Apple-Mail-1--702503848-- Associated Messages, from the most recent to the oldest:
--Apple-Mail-1--702503848Content-Transfer-Encoding: quoted-printableContent-Type: text/plain;charset=ISO-8859-1;delsp=yes;format=flowedeh eh... dead easy.. thanksUsing it for ages, I even did'nt thought to go to the manual...Le 28 janv. 09 =E0 15:48, Gil Poulsen a =E9crit :> Hi, Lawrence. This is from the docs for [showif]:>> =3D=3D=3D=3D=3D=3D=3D=3D> Tip: make sure neither side of the comparison equation contains any =20=> of the special comparison letters listed above. For example, =20> [ShowIf I'm Friendly! Are you?=3D[question]] contains an exclamation =20=> point inside the sentence being compared, so WebDNA sees this as =20> "I'm Friendly" is not equal to " Are you?=3D[question]", which is not =20=> what the author meant to compare.>> The solution is to wrap each side of the comparison with [url] =20> contexts, like this:> [ShowIf [url]I'm Friendly! Are you?[/URL]=3D[url][question][/URL]]. =20=> This causes any embedded !=3D>< symbols to be converted to their URL =20=> equivalents, which can then be compared correctly.> =3D=3D=3D=3D=3D=3D=3D=3D>> Once in a thousand years or so a question is posted that I actually =20=> know the answer to ;-)>>> On Jan 28, 2009, at 9:44 AM, Lawrence wrote:>>>> Hello,>>>> I just have a problem I never noticed.>> I use the "classical" showif , hideif to display a result =20>> depending on what the field contains.>> [showif [myfiled]=3D[blank]] RESULT[/showif]>> This is absolutely simple, except that is the filed [myfiled] =20>> contains the caracter "!", nothing will be displayed...>>>> Has any one had this problem? How can it be solved?>>>> Thanks>> Lawrence>>>> --------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list
- =?ISO-8859-1?Q?R=E9p_:_[WebDNA]_[showif]_problem_*solved*?= (Lawrence Banahan
2009) .>> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us>> old archives: http://dev.webdna.us/TalkListArchive/>>>>>> --> Gil Poulsen, Mac Wirehead>> ************************> AltiM@c Consulting> 23 Marco Polo Court> Franklin Park, NJ 08823-1703> Voice: 609-359-0103> http://altimac.com> ************************>>> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> old archives: http://dev.webdna.us/TalkListArchive/>--Apple-Mail-1--702503848Content-Transfer-Encoding: quoted-printableContent-Type: text/html;charset=ISO-8859-1 eh eh... dead =easy.. thanksUsing it for ages, I even did'nt thought =to go to the manual...Le 28 janv. =09 =E0 15:48, Gil Poulsen a =E9crit :Hi, Lawrence. This is from the docs for =[showif]:=3D=3D=3D=3D=3D=3D=3D=3DTip: make sure neither side of the comparison equation =contains any of the special comparison letters listed above. For =example, [ShowIf I'm Friendly! Are you?=3D[question]] contains an =exclamation point inside the sentence being compared, so WebDNA sees =this as "I'm Friendly" is not equal to " Are you?=3D[question]", which =is not what the author meant to compare.The solution =is to wrap each side of the comparison with [url] contexts, like =this:[ShowIf [url]I'm Friendly! Are =you?[/URL]=3D[url][question][/URL]]. This causes any embedded !=3D><= symbols to be converted to their URL equivalents, which can then be =compared correctly.=3D=3D=3D=3D=3D=3D=3D=3DOnce in a thousand years or so a question =is posted that I actually know the answer to=A0 ;-)On Jan 28, 2009, at 9:44 AM, Lawrence =wrote:Hello,I just have a =problem I never noticed.I use the ="classical" showif , hideif to display a result depending on what the =field contains.[showif [myfiled]=3D[blank]] =RESULT[/showif]This is absolutely simple, =except that is the filed [myfiled] contains the caracter "!", nothing =will be displayed...Has any one had this problem? How can it be =solved?ThanksLawrence---------------------------------------------------------<=/div>This message is sent to you because you are subscribed =tothe mailing list <talk@webdna.us>.To unsubscribe, E-mail to: <talk-leave@webdna.us>=div>old archives: =http://dev.webdna.us/TalkLi=stArchive/=--Gil Poulsen, =Mac Wirehead************************AltiM@c Consulting23 Marco Polo =CourtFranklin Park, NJ =08823-1703Voice: 609-359-0103************************---------------------------------------------------------<=/div>This message is sent to you because you are subscribed =tothe mailing list <talk@webdna.us>.To unsubscribe, E-mail to: <talk-leave@webdna.us>=div>old archives: =http://dev.webdna.us/TalkLi=stArchive/=--Apple-Mail-1--702503848-- Lawrence Banahan
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:
I forgot (1998) Is this possible, WebCat2.0 and checkboxes (1997) Execute Applescript (1997) select multiple (1997) Showing unopened cart (1997) duplicate cart numbers (2002) Backwards list behavior ... (1997) WebDNA and SQL (2003) WebMerchant Config problems (2000) RE: Re:Signal Raised (1997) Converting characters to numbers ... (1997) NT Version on IIS 4.0 (1997) Error, 101 a DNS problem ? (1997) HTML file size limit (1998) [math] show=F exists? (1997) WCS Newbie question (1997) Sorting problem (1997) Re:Emailer and encryption (1997) Referrer field to header field conversion (1997) OT: How to find out who owns an IP address (2001)