Re: 'RequiredField' Question

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 16740
interpreted = N
texte = Dan, perhaps an even better solution might be a form checker that uses JavaScript to alert the user even before the form is submitted that a field must be completed, or that the e-mail field does not contain an @ symbol, etc. That will cover 90-95% of the browsers out there; only the other 5-10% would see the sparse grey page. If you want a sample, let me know privately and I'll send it to you. Dan Keldsen wrote: > > I've been modifying the 'errormessages.db' to e-mail me when 'TemplateNotFound' and 'BadPassword' happen (with some safety checks), and I was wondering if it was possible to make the 'RequiredField' error a bit more user-friendly? > > By that I mean to make it look like a regular page on my site (left side navigation, banner on top, copyright at bottom, etc.), instead of a sparse gray slate. > > I haven't tried it yet, but I'm assuming that if I make an [include] template that has the framework for this, I'll end up with a page that has a bunch of repeating elements in it, since it looks like the 'RequiredField' response is usually a looping: > > You must fill in the '[param1]' field on the form
> > that suggests that it will do a loop for the number of required fields that ARE NOT filled in, so... > > If I have even a bare web page: > > Field Error > > [include standardnav.inc] > [include banner.inc] > You must fill in the '[param1]' field on the form
> [include copyright.inc] > > > > it will repeat the above for the number of fields that the person didn't enter, and will look quite bizarre (although perhaps better than plain gray). > > Is there a way around this? Is this a feature request? Am I the only one looking for this? Has this been covered and I couldn't find it? -- Gil Poulsen, Webmaster************************************************************** * AltiM@c * Phone: (732) 469-2567 * * 429 St. Giles Court * FAX: (732) 469-5823 * * Somerset, NJ * e-mail: help@altimac.com * * 08873-4839 * WWW: http://www.altimac.com * ************************************************************** Associated Messages, from the most recent to the oldest:

    
  1. Re: 'RequiredField' Question (Rob Marquardt 1998)
  2. Re: 'RequiredField' Question (PCS Technical Support 1998)
  3. Re: 'RequiredField' Question (Brian B. Burton 1998)
  4. Re: 'RequiredField' Question (Gil Poulsen 1998)
  5. 'RequiredField' Question (Dan Keldsen 1998)
Dan, perhaps an even better solution might be a form checker that uses JavaScript to alert the user even before the form is submitted that a field must be completed, or that the e-mail field does not contain an @ symbol, etc. That will cover 90-95% of the browsers out there; only the other 5-10% would see the sparse grey page. If you want a sample, let me know privately and I'll send it to you. Dan Keldsen wrote: > > I've been modifying the 'errormessages.db' to e-mail me when 'TemplateNotFound' and 'BadPassword' happen (with some safety checks), and I was wondering if it was possible to make the 'RequiredField' error a bit more user-friendly? > > By that I mean to make it look like a regular page on my site (left side navigation, banner on top, copyright at bottom, etc.), instead of a sparse gray slate. > > I haven't tried it yet, but I'm assuming that if I make an [include] template that has the framework for this, I'll end up with a page that has a bunch of repeating elements in it, since it looks like the 'RequiredField' response is usually a looping: > > You must fill in the '[param1]' field on the form
> > that suggests that it will do a loop for the number of required fields that ARE NOT filled in, so... > > If I have even a bare web page: > > Field Error > > [include standardnav.inc] > [include banner.inc] > You must fill in the '[param1]' field on the form
> [include copyright.inc] > > > > it will repeat the above for the number of fields that the person didn't enter, and will look quite bizarre (although perhaps better than plain gray). > > Is there a way around this? Is this a feature request? Am I the only one looking for this? Has this been covered and I couldn't find it? -- Gil Poulsen, Webmaster************************************************************** * AltiM@c * Phone: (732) 469-2567 * * 429 St. Giles Court * FAX: (732) 469-5823 * * Somerset, NJ * e-mail: help@altimac.com * * 08873-4839 * WWW: http://www.altimac.com * ************************************************************** Gil Poulsen

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:

Permissions with 3.06 Linux (2000) WebCat/PDF Integration Time Est (2000) RE: Subtotal help (1997) webcat (2000) PIXO support (1997) Requiring that certain fields be completed (1997) FEW QUESTIONS (1997) Using Plug-In while running 1.6.1 (1997) Urgent WebCatalog problem (2000) Showif probably dumb question (1997) [/application] error? (1997) [WebDNA] Crontab to execute DNA (2012) Encoding information to send through TCPConnect (1999) Error Lob.db records error message not name (1997) [input] [/input] (1997) corrupted images (2002) Major bug report on rootbeer (1997) adding shipping cost (1998) ShowNext for method=POST (1997) multi-paragraph fields (1997)