If Empty ?

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13901
interpreted = N
texte = I want to display certain text based on whether a field is empty. How would I go about doing this?I am coming from the Tango world where we can do things like;<@ifempty [product_name]> This record is just a place holder for a supercategory. [product_name] Is there a webDNA equivilency?So I was thinking....[showif [product_name]=empty]This text displays when there is no product name for a record [/showif]How would I achieve this.thanks, Paul _/_/_/Paul Uttermohlen, Internet Marketspace, Inc. _/_/_/ mailto:paul@ims1.com _/ Website Development _/_/_/ Websites for Business _/ _/_/_/ Websites for Real Estate _/ _/_/_/Websites for Children _/ Associated Messages, from the most recent to the oldest:

    
  1. Re: If Empty ? (wahl@dnai.com (Bernt Wahl) 1997)
  2. Re: If Empty ? (Paul Uttermohlen 1997)
  3. Re: If Empty ? (netmouse@summit1.com (Anne K. Gay) 1997)
  4. Re: If Empty ? (Grant Hulbert 1997)
  5. Re: If Empty ? (Christer Olsson 1997)
  6. Re: If Empty ? (Trevor Crist 1997)
  7. Re: If Empty ? (Grant Hulbert 1997)
  8. If Empty ? (Paul Uttermohlen 1997)
I want to display certain text based on whether a field is empty. How would I go about doing this?I am coming from the Tango world where we can do things like;<@ifempty [product_name]> This record is just a place holder for a supercategory. [product_name] Is there a webDNA equivilency?So I was thinking....[showif [product_name]=empty]This text displays when there is no product name for a record [/showif]How would I achieve this.thanks, Paul _/_/_/Paul Uttermohlen, Internet Marketspace, Inc. _/_/_/ mailto:paul@ims1.com _/ Website Development _/_/_/ Websites for Business _/ _/_/_/ Websites for Real Estate _/ _/_/_/Websites for Children _/ Paul Uttermohlen

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:

Autoreturn Submit? (1997) referrer usage (1997) showif and cart (1997) Appending current [date] to a database (1997) unsubscribe me (2000) Help! WebCat2 bug (1997) IE-caching (1998) RE: 2nd WebCatalog2 Feature Request (1996) WebMerchant 2.1.2 (1998) RAM variables (1997) [SHOWIF]s and empty arguments (1997) Or Operator (2005) UPDATE PROBLEM (1997) Problems getting parameters passed into email. (1997) OT: PowerKey and PageSentry not playing nice (2000) Problems appending to database (1997) FEA REQ: One .hdr, multiple .db's (2003) SetHeader Requirements (2002) [Webcat 2]Next (1997) time and welcome (1999)