Re:How to Display text in empty fields
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 12299
interpreted = N
texte = Wrap the fields that might not have info in a [HIDEIF [field]=][/HIDEIF] -if the field is blank the enclosed will be hid....>Hi Everyone,>>I have a question I was hoping one of you might be able to answer... We>have a database that is comprised of information from different companies,>the fields are: name, url, email, phone, fax, and description. Now, not>all records make use of all the fields, for example a record for a company>might have phone, fax and email, but no URL, while another one might have>a URL and email but no phone or fax. Now the fields that don't contain any>info, are simply blank. Now here's my question, I need to format my>results page to deal with this problem. I need to either insert N/A>automatically for the empty fields, or have them simply be>ignored(i.e.leave no empty space). Does anybody have any suggestions?>>Thanks,>Jose A. Gordo>webmaster@iwcc.com>> ----------------------------------------------------->> The International Website Construction Co.> http://www.iwcc.com/>> Miami --- São Paulo --- Buenos Aires --- Lima>> Web Advertizing and Design for the> Latin American Market>> voice: (305) 461-4949> 156 Almeria Ave.> Coral Gables, FL> 33134, USA> -----------------------------------------------------Jay Van Vark ******************************Pacific Coast Software | Commerce (WebCatalog)11770 Bernardo Plaza Court | Hosting & DesignSuite 453 | http://www.smithmicro.comSan Diego, CA 92128 ******************************619.675.1106
Associated Messages, from the most recent to the oldest:
|
- Re:How to Display text in empty fields (Jay Van Vark 1997)
|
Wrap the fields that might not have info in a [HIDEIF [field]=][/HIDEIF] -if the field is blank the enclosed will be hid....>Hi Everyone,>>I have a question I was hoping one of you might be able to answer... We>have a database that is comprised of information from different companies,>the fields are: name, url, email, phone, fax, and description. Now, not>all records make use of all the fields, for example a record for a company>might have phone, fax and email, but no URL, while another one might have>a URL and email but no phone or fax. Now the fields that don't contain any>info, are simply blank. Now here's my question, I need to format my>results page to deal with this problem. I need to either insert N/A>automatically for the empty fields, or have them simply be>ignored(i.e.leave no empty space). Does anybody have any suggestions?>>Thanks,>Jose A. Gordo>webmaster@iwcc.com>> ----------------------------------------------------->> The International Website Construction Co.> http://www.iwcc.com/>> Miami --- São Paulo --- Buenos Aires --- Lima>> Web Advertizing and Design for the> Latin American Market>> voice: (305) 461-4949> 156 Almeria Ave.> Coral Gables, FL> 33134, USA> -----------------------------------------------------Jay Van Vark ******************************Pacific Coast Software | Commerce (WebCatalog)11770 Bernardo Plaza Court | Hosting & DesignSuite 453 | http://www.smithmicro.comSan Diego, CA 92128 ******************************619.675.1106
Jay Van Vark
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:
WebCat Error Log problem (2.0.1, acgi, Mac) (1997)
[WebDNA] agree? --> also broken when we compare against something with a "!" in it. (2009)
Wanted: More Math Functions (or, Can You Solve This?) (1997)
Running _every_ page through WebCat ? (1997)
Date formats and sandboxes (2004)
Another form question (2000)
Security Issue (1997)
RE: PIXO support (1997)
Error (1997)
Nested [xxx] contexts & Bad Suffix (1998)
Forcing a NEWCART (1997)
Spawning Holdup? (2000)
Frames and WebCat (1997)
Using Applescript to process WebCatalog functions (1998)
Re:Signal Raised (1997)
Looking for 5 to 12 shops with 3 URLs & statements (1997)
Email Line Breaks (2003)
WC TableGrinder (1997)
Interfacing WC with mail server (1998)
Price Hacking (1998)