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:

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)