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:

Custom WebCat Prefs ... (1997) Getting Emailer to send mail (1997) Dummy Credit Card Number for debug? (1997) Summ=T Problem (1997) Associative lookup style? + bit more (1997) [replaceChars] would be nice ... (1997) Append command (2000) browser info.txt and SSL (1997) A multi-processor savvy WebCatalog? (1997) Different Tax levels (1998) WebCat2b13MacPlugIn - syntax to convert date (1997) set header in DB (no cart) (2003) WebCat2: Items xx to xx shown, etc. (1997) WebCat2final1 crashes (1997) really annoying feature (2001) WebCat2 several catalogs? (1997) Ongoing group search problems ... (1997) textarea input- nevermind (2002) WebCat2final1 crashes (1997) Stopping bad HTML propagation ? (1997)