[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.. thanks Using 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=3D Tip: make sure neither side of the comparison equation contains any of=20 the special comparison letters listed above. For example, [ShowIf I'm=20 Friendly! Are you?=3D[question]] contains an exclamation point inside the= =20 sentence being compared, so WebDNA sees this as "I'm Friendly" is not=20 equal to " Are you?=3D[question]", which is not what the author meant to=20 compare. The solution is to wrap each side of the comparison with [URL] contexts,=20 like this: [ShowIf [URL]I'm Friendly! Are you?[/URL]=3D[URL][question][/URL]]. This=20 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 know=20 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 depending on=20 what the field contains. [showif [myfiled]=3D[blank]] RESULT[/showif] This is absolutely simple, except that is the filed [myfiled] contains=20 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 . 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/ Associated Messages, from the most recent to the oldest:

    
  1. [WebDNA] =?ISO-8859-1?Q?R=E9p_=3A_=5BWebDNA=5D_=5Bshowif=5D_probl?= (Lawrence 2009)
eh eh... dead easy.. thanks Using 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=3D Tip: make sure neither side of the comparison equation contains any of=20 the special comparison letters listed above. For example, [ShowIf I'm=20 Friendly! Are you?=3D[question]] contains an exclamation point inside the= =20 sentence being compared, so WebDNA sees this as "I'm Friendly" is not=20 equal to " Are you?=3D[question]", which is not what the author meant to=20 compare. The solution is to wrap each side of the comparison with [url] contexts,=20 like this: [ShowIf [url]I'm Friendly! Are you?[/URL]=3D[url][question][/URL]]. This=20 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 know=20 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 depending on=20 what the field contains. [showif [myfiled]=3D[blank]] RESULT[/showif] This is absolutely simple, except that is the filed [myfiled] contains=20 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 . 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/ 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)