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:
Prices coming up 0.00 (2001)
New Web Site Developers Database (1996)
PCS Frames (1997)
WebCat2 - many [carts] on one template page? (1997)
WebCat2 Append problem (B14Macacgi) (1997)
[WebDNA] Middle Question (2015)
Cart Number sequence (1997)
[cart] generation (1998)
Email within tmpl ? (1997)
Where's Cart Created ? (1997)
Re:Emailer setup (1997)
combining strings (1997)
How long until WebDNA makes the list? :( (2004)
E-mail loop ! (1997)
Pithy questions on webcommerce & siteedit (1997)
Communigate+Webcat (2001)
HSBC ePayments System (2004)
Many $WebCat.exe processes (1998)
EIMS Problems (1997)
This list needs a digest: rant, rave... (1997)