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:
[cart]'s ever get recycled? (2000)
SQL Errors (2003)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
Duplicate emails with bcc (2000)
Hiding HTML and page breaks (1997)
WebCat2.0 [format thousands .0f] no go (1997)
Pass a form (2003)
Limiting user access to .tmpl files (1997)
notification solutions (1997)
WebCatalog Technical Reference (1997)
WebCatalog Technical Reference (1997)
WC2.0 Memory Requirements (1997)
[WebDNA] Is [math] on a number with too many digits the only way that I can get scientific notation out of webdna? (2011)
No Answer on Web Merchant Problem? (2001)
sort problems....bug or brain fart? (1997)
Still having install problems (2000)
Nested tags count question (1997)
WebCatalog for guestbook ? (1997)
url question (2002)
WebCatalog Work (2001)