[WebDNA] =?ISO-8859-1?Q?R=E9p_=3A_=5BWebDNA=5D_=5Bshowif=5D_probl?=
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 101832
interpreted = N
texte = eh eh... dead easy.. thanksUsing it for ages, I even didn't 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=20the special comparison letters listed above. For example, [ShowIf I'm=20Friendly! Are you?=3D[question]] contains an exclamation point inside the==20sentence being compared, so WebDNA sees this as "I'm Friendly" is not=20equal to " Are you?=3D[question]", which is not what the author meant to=20compare.The solution is to wrap each side of the comparison with [URL] contexts,=20like this:[ShowIf [URL]I'm Friendly! Are you?[/URL]=3D[URL][question][/URL]]. This=20causes any embedded !=3D>< symbols to be converted to their URL=20equivalents, 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=20the 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 depending on=20what the field contains.[showif [myfiled]=3D[blank]] RESULT[/showif]This is absolutely simple, except that is the filed [myfiled] contains=20the caracter "!", nothing will be displayed...Has any one had this problem? How can it be solved?ThanksLawrence---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list
.To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usold archives: http://dev.webdna.us/TalkListArchive/--Gil Poulsen, Mac Wirehead************************AltiM@c Consulting23 Marco Polo CourtFranklin Park, NJ 08823-1703Voice: 609-359-0103http://altimac.com************************---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usold archives: http://dev.webdna.us/TalkListArchive/
Associated Messages, from the most recent to the oldest:
|
- [WebDNA] =?ISO-8859-1?Q?R=E9p_=3A_=5BWebDNA=5D_=5Bshowif=5D_probl?= (Lawrence 2009)
|
eh eh... dead easy.. thanksUsing it for ages, I even didn't 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=20the special comparison letters listed above. For example, [ShowIf I'm=20Friendly! Are you?=3D[question]] contains an exclamation point inside the==20sentence being compared, so WebDNA sees this as "I'm Friendly" is not=20equal to " Are you?=3D[question]", which is not what the author meant to=20compare.The solution is to wrap each side of the comparison with [url] contexts,=20like this:[ShowIf [url]I'm Friendly! Are you?[/URL]=3D[url][question][/URL]]. This=20causes any embedded !=3D>< symbols to be converted to their URL=20equivalents, 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=20the 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 depending on=20what the field contains.[showif [myfiled]=3D[blank]] RESULT[/showif]This is absolutely simple, except that is the filed [myfiled] contains=20the caracter "!", nothing will be displayed...Has any one had this problem? How can it be solved?ThanksLawrence---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usold archives: http://dev.webdna.us/TalkListArchive/--Gil Poulsen, Mac Wirehead************************AltiM@c Consulting23 Marco Polo CourtFranklin Park, NJ 08823-1703Voice: 609-359-0103http://altimac.com************************---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usold archives: http://dev.webdna.us/TalkListArchive/
Lawrence
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:
HTML Editors (1997)
Signal Raised error (1997)
carriage returns in data (1997)
WC2.0 Memory Requirements (1997)
Searchable WebCat (etc.) Docs ? (1997)
Summary search -- speed (1997)
WebDNA-Talk Digest mode broken (1997)
Install on RedHat ES 4 (2006)
Initiating NewCart (1997)
Addlineitems ... grrr (2004)
Notepad problems (1998)
sorted cart? (1998)
Importing (2000)
Running _every_ page through WebCat ? (1997)
Help name our technology! I found it (1997)
There's a bug in the math context ... (1997)
Inventory Adjustment (2000)
[WriteFile] problems (1997)
NT Manual (1997)
target=_blank and form variables (1997)