Re: Associative lookup style? + bit more

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10840
interpreted = N
texte = >[hideif [math][totalWeight]>.5[/math]]I haven't looked at all your stuff in depth (so there may still be things wrong), but two things stuck out immediately:1) Since totalWeight is a form variable, there is no need to stick it inside a [math] context.2) [Math] contexts don't understand things like >. But [HideIf] does. You've got the > in the wrong place. Try the following:[hideif [totalWeight]>0.5](Remember to apply this concept to all your [ShowIf] also)Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
>[hideif [math][totalWeight]>.5[/math]]I haven't looked at all your stuff in depth (so there may still be things wrong), but two things stuck out immediately:1) Since totalWeight is a form variable, there is no need to stick it inside a [math] context.2) [math] contexts don't understand things like >. But [hideif] does. You've got the > in the wrong place. Try the following:[hideif [totalWeight]>0.5](Remember to apply this concept to all your [showif] also)Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

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:

Weird Math and SV Bad News (1997) WebCat templates for TyphoonPro admin (1999) Unexceling (was I need a smart quote...) (1999) [Sum] function? (1997) Server slowing down. (1997) So many lookers, hey smith micro (2003) still having shipCost.db Problem (1997) [WebDNA] OS and version (2019) Faxing orders in place of email (1997) How to Display text in empty fields (1997) PIXO support (1997) RE: [redirect] w/o showing args? (1999) Line Endings (2003) How about this? (1998) Displaying photo attached to first record (1997) More about BIAP W*API.... (1998) Erotic Sites (1997) PIXO support (1997) WebDNA Windows License (2004) Clearly.home (1998)