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:

Search wbrk (repost) (2001) Frames and WebCat (1997) Mac/network guy needed in Seattle (2004) DomainList (2005) WebDNA-Talk Digests (1997) [countWords]? (1997) Nested tags count question (1997) [SearchString] problem with [search] context (1997) 'does not contain' operator needed ... (1997) blank page from template (1997) WebCat2.0b15-to many nested [xx] tags (1997) Multiple Pulldowns (1997) NY taxRates.db? (1997) Summing fields (1997) Only charge card when product shipped ? (1997) psst (1997) taxRate and grandTotal calculation is not showing up on my (2000) macosx 1 process, linux N processes, macosx chokes under load (2001) Locking up with WebCatalog... (1997) RE: Error: template (1997)