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 exclaimation to appear on the right if the customer leaves any one field blank I can only get a single exclaimation to appear if all three are blank (nested), up to three 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 a showif count>0.Thanks, Pat McCormick Associated Messages, from the most recent to the oldest:

    
  1. Re: [showif] / [hideif] (Pat McCormick 1997)
  2. [showif] / [hideif] (Pat McCormick 1997)
  3. Re: [showif] / [hideif] (Grant Hulbert 1997)
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 exclaimation to appear on the right if the customer leaves any one field blank I can only get a single exclaimation to appear if all three are blank (nested), up to three 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 a showif 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:

WebCat2 - many [carts] on one template page? (1997) [WebDNA] proxy server domains mysteriously appear in webdna's domain list (2010) search w/international chars (1999) quit command on NT (1997) New index for docs (1997) WebDNA implementation of MD5 algorithm? (2003) emailer (1997) incrementing sku (1998) WebCatalog2 for NT Beta Request (1997) newbie ?: splitting webcat files between ssl and non-ssl sites (1999) Help! WebCat2 bug (1997) with Link i need to (1997) [WebDNA] anyone use curl with shell? (2010) WebCat2b13MacPlugIn - [include] (1997) shippingTotal Challenge (2001) Problems with [Applescript] (1997) [showif]/[hideif] question (1997) Is there an easier way? (1998) Upgrade on MacOSX 3.05 to 3.08 (2000) Help--WebCat setup (2000)