Re: 911: testing if the field is empty
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 33629
interpreted = N
texte = >[if ([image_width]>100)|([image_width] is empty)> [then]100[/then]> [else][image_width][/else]>[/if]You are comparing the field as a number in one case, and as text in another. You can intermix the two by quoting the parts that you want to be considered text, and preceding the number with a zero in case it happens to be empty:[if (0[image_width]>100)|([image_width]=)] [then]100[/then] [else][image_width][/else][/if]Technical Support **********************************Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)16855 West Bernardo Drive, #380 | -------------------------San Diego, CA 92127 | Software & Site DevelopmentWebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>[if ([image_width]>100)|([image_width] is empty)> [then]100[/then]> [else][image_width][/else]>[/if]You are comparing the field as a number in one case, and as text in another. You can intermix the two by quoting the parts that you want to be considered text, and preceding the number with a zero in case it happens to be empty:[if (0[image_width]>100)|([image_width]=)] [then]100[/then] [else][image_width][/else][/if]Technical Support **********************************Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)16855 West Bernardo Drive, #380 | -------------------------San Diego, CA 92127 | Software & Site DevelopmentWebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
WebDNA Support
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:
Another question (1997)
Runnaway Trigger (2007)
Cyberstudio and WebDNA (1997)
Setting up WebCatalog with Retail Pro data (1996)
Press Release hit the NewsWire!!! (1997)
international time (1997)
Security Issue (1997)
Forcing a NEWCART (1997)
[WebDNA] improvements (2015)
send mail problem? (1997)
Too Much Rootbeer Free Offer (1997)
WebCat2: Master Counter snippet (1997)
More on the email templates (1997)
Need relative path explanation (1997)
Verifying both name and password (was: New Problem) (1997)
[authenticate] (1999)
multiple credit card merchant accounts/processors (1997)
RE: OK, here goes... (1997)
Opinion: [input] should be called [output] ... (1997)
Sorry, WebDNA Server Not Running! (2005)