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:
Automatic Forwarding using WebCat (1997)
Setting up the server (1997)
RequiredFields template (1997)
OT: How to find out who owns an IP address (2001)
Formulas.db + Users.db (1997)
Complex replace Q-not for the timid!! (2000)
WebCat2: Found Items syntax, etc. (1997)
[WriteFile] problems (1997)
[WriteFile] problems (1997)
Include a big block of text (1997)
Some Questions (1997)
Image maps/Webcat (1997)
[WebDNA] Email time bug? YES, it's a bug! (2011)
Multiple security dbs (1997)
GuestBook example (1997)
Problem with [CART] number (1998)
a new bug? (1999)
WebCat2 beta 11 - new prefs ... (1997)
WebDNA Solutions ... sorry! (1997)
Emailer tracking (1997)