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:

Press Release hit the NewsWire!!! (1997) [WebDNA] BBEdit Codeless Language Module for WebDNA (2009) format_to_days on NT (1997) Access and WebDNA (2002) [addlineitems] (1997) 2.0 Info (1997) large database (2000) Plugin or CGI or both (1997) Sku numbers (1997) form data submission gets truncated (1997) WebDNA creates DUPLICATE SHOPPING CART NUMBERS (2004) OUTSIDE LINKS TO SHOW SHOPPING CART????????? (1998) [WebDNA] Hosting Solution (2013) IP Address Ranges in a Database. (2003) Goodbyes (2007) Review comparison by PC Magazine: Open for On-line Business (1997) Cart ID (1999) Stopping bad HTML propagation ? (1997) Archives... (1997) What am I missing (1997)