Re: Hiding HTML and page breaks

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 11107
interpreted = N
texte = >Here's what I'm doing. Maybe you have a better way. >I have a list of classes that folks can register for. When the class fills >I want to mark it full, but still display the class. Right now I'm adding >the word FULL! in red (that's where the html comes in) to the title field. >I guess I could add a pic...Full or available.Instead of putting literal HTML into the field, I recommend you create a new field that contains some kind of flag (T of F, 0 or 1) that indicates the status of the record. Then you can dynamically display your red text using some WebDNA instead of filling your database with HTML.[showif [classFull]=T]Class Full![/showif] [showif [classFull]=F]Plenty o' Room![/showif]Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court, #453 | 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:

    
  1. Re: Hiding HTML and page breaks (Ken Tuley 1997)
  2. Re: Hiding HTML and page breaks (Grant Hulbert 1997)
  3. Re: Hiding HTML and page breaks (Ken Tuley 1997)
>Here's what I'm doing. Maybe you have a better way. >I have a list of classes that folks can register for. When the class fills >I want to mark it full, but still display the class. Right now I'm adding >the word FULL! in red (that's where the html comes in) to the title field. >I guess I could add a pic...Full or available.Instead of putting literal HTML into the field, I recommend you create a new field that contains some kind of flag (T of F, 0 or 1) that indicates the status of the record. Then you can dynamically display your red text using some WebDNA instead of filling your database with HTML.[showif [classFull]=T]Class Full![/showif] [showif [classFull]=F]Plenty o' Room![/showif]Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court, #453 | 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:

[BULK] Fwd: [WebDNA] [BULK] WebDNA discovery in the Console - [having many crashes] (2011) What if SSL server down? MAC (1997) WebCat2b13MacPlugIn - [include] (1997) First postarg not taking in $Commands (1997) PCS Emailer's role ? (1997) HTML editing and webcatalog (2000) bug in [SendMail] (1997) Cookie Crumble (1998) Bug Report, maybe (1997) Web Developer Product Awards (1997) question... no field names? (2002) XML - USPS Lookups - UPS Lookups (2003) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) WebCat2: multiple currency support (1997) Another Excel Problem (2003) Newbie Tax Question (1997) Keep away (1997) Need help (1998) frames & carts (1997) Interactive Docs (2007)