Re: [ShowIf] either fields are blank

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20555
interpreted = N
texte = I tried what you suggested: [showif [name]=] [showif [math]errflag[/math]=0] [/showif] [/showif] [showif [address]=] [showif [math]errflag[/math]=0] [/showif] [/showif]Then check for the errnum/errflag combos: [showif [math]errflag[/math]>0] Oops! You've forgotten to fill out a required field! Please use your browser's Back button and [showif [math]errnum[/math]=1] tell us your name. Thanks! [/showif] [showif [math]errnum[/math]=2] supply us with your mailing address. Thanks! [/showif] [/showif] [hideif [math]errflag[/math]>0] [/hideif]This works only for the first errnumber. In this example, I cannot get the address error to show. So far I have only been able to get that first error message to show: [showif [math]errnum[/math]=1]tell us your name. Thanks![/showif] Associated Messages, from the most recent to the oldest:

    
  1. Re: [ShowIf] either fields are blank (Mike Eberly 1998)
I tried what you suggested: [showif [name]=] [showif [math]errflag[/math]=0] [/showif] [/showif] [showif [address]=] [showif [math]errflag[/math]=0] [/showif] [/showif]Then check for the errnum/errflag combos: [showif [math]errflag[/math]>0] Oops! You've forgotten to fill out a required field! Please use your browser's Back button and [showif [math]errnum[/math]=1] tell us your name. Thanks! [/showif] [showif [math]errnum[/math]=2] supply us with your mailing address. Thanks! [/showif] [/showif] [hideif [math]errflag[/math]>0] [/hideif]This works only for the first errnumber. In this example, I cannot get the address error to show. So far I have only been able to get that first error message to show: [showif [math]errnum[/math]=1]tell us your name. Thanks![/showif] Mike Eberly

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:

Emailer file formats (1998) Email Attachments (1998) [SearchString] problem with [search] context (1997) Which WebCat is it? (2000) PIXO (1997) [Announce] Newest Commerce Site based on WebCatalog (1997) [shell] stopped ?? (2003) Last freebie (1998) WC site (2001) read and write you own cookies with webcat (1997) [SHOWIF] (1997) Math, Multiple Equasions and Show/Hide (1998) PCS Emailer's role ? (1997) RE: AccountAuthorizer doesn't seem to work (1997) [WebDNA] Exclude found items in a 2nd search (2016) f2 download problems (1997) carriage returns in data (1997) Problems passing [SKU] with $Replace in 2.0 (1997) Wrapping text (1998) Windows-based Code Editor (2002)