Re: [showif] / [hideif]
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 15797
interpreted = N
texte = Grant Hulbert wrote:> > >can you do multiple conditions within a single [showif]?> > No, you have to nest them inside each other to get AND or lay them out in a row to get OR.If I have a single line with city, state & zip and I want a red exclaimationto appear on the right if the customer leaves any one field blank I can onlyget a single exclaimation to appear if all three are blank (nested), up tothree exclaimations if I repeat the showif for each field (in a row).I did a workaround by making a counter for blank fields, and setting up ashowif count>0.Thanks,Pat McCormick
Associated Messages, from the most recent to the oldest:
Grant Hulbert wrote:> > >can you do multiple conditions within a single
[showif]?> > No, you have to nest them inside each other to get AND or lay them out in a row to get OR.If I have a single line with city, state & zip and I want a red exclaimationto appear on the right if the customer leaves any one field blank I can onlyget a single exclaimation to appear if all three are blank (nested), up tothree exclaimations if I repeat the showif for each field (in a row).I did a workaround by making a counter for blank fields, and setting up ashowif count>0.Thanks,Pat McCormick
Pat McCormick
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:
b12 cannot limit records returned and more. (1997)
Sample Tearoom Search Error (1997)
A question on sub-categories (1997)
Re:Virtual hosting and webcatNT (1997)
Sense/Disallow HTML tags during $Append (1997)
BUG in [showif] using ^ (contains) (1997)
OT: javascript help (2003)
Web Catalog 2 demo (1997)
Webcat/Webmerchant (1998)
Problem with updating 2.1b7 -> 2.1.1 (1998)
Almost a there but..bye bye NetCloak (1997)
Nesting format tags (1997)
[NT] ie 4.0 required (1997)
RE: [isfolder] and [filename] (1997)
Re:emailer 150 (1997)
WebCommerce Security Alert! (1996)
WebCatalog Features (1997)
Sku numbers (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
WebDNA Trouble... (1999)