Re: [ShowIf] a either fields are blank

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20529
interpreted = N
texte = I would make a little include file with something like this:[showif [email]=] text [/showif] [showif [firstname]=][/showif]The advantage of this is that you can tell the user exactly which field needs to be fixed.John. >I want text to show only if certain fields were left blank. As long as I >specify only one field, this works fine: [ShowIf [eMail]!] Your forgot >your email address[/ShowIf] >But I have 10 fields which I would like for the customer to fill out. I >any of these are left blank, I would like something to show. How do you >indicate that if [eMail] or [FirstName] or etc... are blank, then show a >certain text? >This does not work >[ShowIf [email]1&[FirstName]!]Your forgot....[/ShowIf] >I want to avoid using the standard RequiredFields command >Any suggestions? John A. Hill, V.P. Marketing Pacific Coast Software eCommerce / Web Developer Tools http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: [ShowIf] a either fields are blank (Kenneth Grome 1998)
  2. Re: [ShowIf] a either fields are blank (Scott Szretter 1998)
  3. Re: [ShowIf] a either fields are blank (Brian Willson 1998)
  4. Re: [ShowIf] a either fields are blank (John Hill 1998)
  5. Re: [ShowIf] a either fields are blank (Brian Drum 1998)
  6. Re: [ShowIf] a either fields are blank (Mike Eberly 1998)
  7. [ShowIf] a either fields are blank (Mike Eberly 1998)
I would make a little include file with something like this:[showif [email]=] text [/showif] [showif [firstname]=][/showif]The advantage of this is that you can tell the user exactly which field needs to be fixed.John. >I want text to show only if certain fields were left blank. As long as I >specify only one field, this works fine: [ShowIf [eMail]!] Your forgot >your email address[/ShowIf] >But I have 10 fields which I would like for the customer to fill out. I >any of these are left blank, I would like something to show. How do you >indicate that if [eMail] or [FirstName] or etc... are blank, then show a >certain text? >This does not work >[ShowIf [email]1&[FirstName]!]Your forgot....[/ShowIf] >I want to avoid using the standard RequiredFields command >Any suggestions? John A. Hill, V.P. Marketing Pacific Coast Software eCommerce / Web Developer Tools http://www.smithmicro.com John Hill

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:

[WebDNA] HTML/OS vs. WebDNA ? (2008) WebDNA FAQ or FAQs -- was "weird problem" (2004) flushdatabases (2000) Text data with spaces in them... (1997) using showpage and showcart commands (1996) re: How can I record purchases to a database? (1998) possible, WebCat2.0 and checkboxes-restated (1997) [WebDNA] OSX Webdna Installer (2009) Zip Code Search (2000) PSC recommends what date format yr 2000??? (1997) Stats (2004) Bug in the docs ... (2002) WebCatalog Technical Reference (1997) Extended [ConvertChars] (1997) unsubscribe (2000) where to put code (1998) WebCat2b12 forgets serial # (1997) japanese characters (1997) Payments -> Bank Accounts (2005) accountnum using [listwords] (2001)