[HideIf Comparison]Hide This HTML[/HideIf]Hides HTML conditionally only if the comparison is true.
[hideif [username]=Grant][Authenticate User Grant][/hideif]
|equal||=||[hideif [username]=SAGEHEN]You're not Mr. Sagehen![/hideif]|
|not equal||[hideif [random]!45]...[/hideif]|
|begins with||~||[hideif [ipaddress]~245.078.013]...[/hideif].|
Notice the IP address has been typed with 3 digits in each portion of the address. This is very important for making these comparison work as expected.
|less than||<||[hideif [random]<50]...[/hideif]|
|greater than||>||[hideif [lastrandom]>25]...[/hideif]|
|divisible by||\||[hideif [index]\3]...[/hideif]|
if both sides of the equation are numbers, then the comparison for greater than, less than, and equals is performed numerically. If either side is not a number, then the comparison is performed alphabetically.
make sure neither side of the comparison equation contains any of the special comparison letters listed above. For example, [hideif I'm Friendly! Are you?=[question]] contains an exclamation point inside the sentence being compared, so WebDNA sees this as "I'm Friendly" is not equal to " Are you?=[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:
[hideif [url]I'm Friendly! Are you?[/URL]=[url][question][/URL]]. This causes any embedded ! = > < symbols to be converted to their URL equivalents, which can then be compared correctly.
DOWNLOAD WEBDNA NOW!
A list of user-submitted tips ...[biotype]
BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...WebDNA Modules
A list of the currently available modules...AWS Raw WebDNA LAMP-Plus WebServer
Amazon Web Services (AWS) README for Machine Image ID...WebDNA Libraries
A list of available libraries for WebDNA...Technical Change History
This Technical Change History provides a reverse chronological list of WebDNA changes...
Changes all lower case letters to upper case...[table]
[table] allows you to quickly create a temporary 'in line' database that is local to the template and not part of the global database cache...[listfields]
Lists all the fields in the specified database...[filecompare]
Compares the size...Database format
This context is used to iterate the attributes of a specific XML node...