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 usesJavaScript to alert the user even before the form is submitted that a fieldmust 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 privatelyand 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:
Dan, perhaps an even better solution might be a form checker that usesJavaScript to alert the user even before the form is submitted that a fieldmust 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 privatelyand 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:
New to WebCat, Help. (1998)
Re(5): Small Bug: ErrorLog.txt/[FORMVARIABLES]/[ORDERFILE] (1998)
[Webcat 2]Next (1997)
Milliseconds (1998)
showcart context? (1998)
To brighten your day... (2006)
Globals folder... (2003)
Changing SubTotal (2003)
Use WebCat to search files in a folder like a search engine? (2001)
Initiating NewCart (1997)
converting tabs (1997)
WebCatalog Technical Reference (1997)
SSL and reg web* (1997)
Trouble with Netscape (1998)
Sort Order on a page search (1997)
Understanding texta (1997)
WebCommerce: Folder organization ? (1997)
HTML Editors (1997)
Help name our technology! I found it (1997)
WebCatalog 4.0.1 has been released! (2000)