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:
Forms Search Questions (1997)
More on the email templates (1997)
[click][/click] (1999)
[WebDNA] TCPCONNECT & Timeout (2015)
WebCat2 as a chat server? (1997)
WebCatalog can't find database (1997)
WC2b15 File Corruption (1997)
multiple product databases (1997)
Stopping bad HTML propagation ? (1997)
Modulo function? (2000)
Open Market's Transact & Macintosh (1998)
Error:Too many nested [xxx] contexts (1997)
How To question on setting up downloads (1997)
[isfile] ? (1997)
WC Database Format (1997)
aloha! (2002)
Help formatting search results w/ table (1997)
WebCatalog-NT?'s (1996)
Max Record length restated as maybe bug (1997)
nested context (1998)