Re: showif field is number
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 15670
interpreted = N
texte = >Is their a quick way to do [showif [field] is a number] ?>>Will this work? [showif [math][field]+1[/math]!] In other words, if the>field is non-numeric, the math context will return a blank.I think something like this will work, but I don't remember what'sreturned, whether it's blank or zero or some unpredictable number.You'll probably have to play around with this technique to see whatyou get ... :)Sincerely,Ken Gromeken@iav.com808-737-6499WebDNA Solutionshttp://www.hui.net/
Associated Messages, from the most recent to the oldest:
>Is their a quick way to do [showif [field] is a number] ?>>Will this work? [showif
[math][field]+1[/math]!] In other words, if the>field is non-numeric, the math context will return a blank.I think something like this will work, but I don't remember what'sreturned, whether it's blank or zero or some unpredictable number.You'll probably have to play around with this technique to see whatyou get ... :)Sincerely,Ken Gromeken@iav.com808-737-6499WebDNA Solutionshttp://www.hui.net/
Kenneth Grome
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:
My solution... (1996)
Re:2nd WebCatalog2 Feature Request (1996)
WebCatalog Hosting (1996)
SiteEdit Pro Update Announcement (1997)
Repeating Fields (1997)
Extended [ConvertChars] (1997)
WC1.6 to WC2 date formatting (1997)
Searching from a Form (2000)
Database (2002)
Showif, Hideif reverse logic ? (1997)
WebCat2b13MacPlugIn - More limits on [include] (1997)
Validating A Date (2004)
Server Freeze (1998)
European Dates (1998)
SET (1998)
Enhancement Request for WebCatalog-NT (1996)
WC 4.0 on Solaris - can't 'find' admin templates (2000)
Server IP address-thanks (2004)
RE: Answer: WebDelivery downloads alias, not original ? (1997)
WebSTAR 2.1 freezes my Mac (1997)