Re: RequiredFields template

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12393
interpreted = N
texte = I currently have the following response for checking fields[ShowIf [Field1]=] Please hit the back button and fill in Field One

[/ShowIf][ShowIf [Field2]=] Please hit the back button and fill in Field Two

[/ShowIf]The problem is if multiple fields are left blank, the template returns a list of Please hit the back button and fill in Field such and such (there are about 20 fields on the page). Functional, but not necessarily prettyI would prefer to have it return just one message instead. (Please hit the back button and fill in all required fields) Any ideas on a solution?Thanks -- Trevor Crist Production Manager Digital Frontier Stowe, Vermont http://www.digitalfrontier.com tcrist@digitalfrontier.com Associated Messages, from the most recent to the oldest:

    
  1. Re: RequiredFields template (Glenn Davis 1997)
  2. Re: RequiredFields template (Trevor Crist 1997)
  3. Re: RequiredFields template (Glenn Davis 1997)
  4. RequiredFields template (Trevor Crist 1997)
  5. Re: RequiredFields template (Kenneth Grome 1997)
  6. Re: RequiredFields template (Grant Hulbert 1997)
  7. Re: RequiredFields template (Glenn Davis 1997)
  8. Re: RequiredFields template (Kenneth Grome 1997)
  9. Re: RequiredFields template (Grant Hulbert 1997)
  10. Re: RequiredFields template (Grant Hulbert 1997)
  11. Re: RequiredFields template (Kenneth Grome 1997)
I currently have the following response for checking fields[ShowIf [Field1]=] Please hit the back button and fill in Field One

[/ShowIf][ShowIf [Field2]=] Please hit the back button and fill in Field Two

[/ShowIf]The problem is if multiple fields are left blank, the template returns a list of Please hit the back button and fill in Field such and such (there are about 20 fields on the page). Functional, but not necessarily prettyI would prefer to have it return just one message instead. (Please hit the back button and fill in all required fields) Any ideas on a solution?Thanks -- Trevor Crist Production Manager Digital Frontier Stowe, Vermont http://www.digitalfrontier.com tcrist@digitalfrontier.com Trevor Crist

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:

WebCat2: multiple currency support (1997) How is it done? (1998) Release of 2.01? (1997) Projects & Contractors (1997) [WebDNA] SendMail (2008) calculating tax rates, mail order solutions and version 2 (1997) Large databases in WebCat (1997) webDNA engine creating duplicate lineitems?! (2004) Only charge card when product shipped ? (1997) Searching for Nothing (1998) [ShowIf] and empty fields (1997) showif and cart (1998) WCS Newbie question (1997) Simple form with picture upload (2005) [WebDNA] Conditional Javascript and WebDNA (2010) Setting up WebCatalog with Retail Pro data (1996) Large File Uploads Impact WebDNA Performance (IIS) (2003) Bug Report, maybe (1997) [ot] html question (2000) WebDNA 4.5.1 Now Available (2003)