Error Messges

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13028
interpreted = N
texte = I'm attempting to modify my public error messages by changing the ErrorMessages.db file. I am using [include]'s to place my standard header and footer on the page. So far, this works for each message except those which may list more than one value - such as the RequiredField. When leaving more than one required field empty in my order form, the error result (with the [include]'s) lists the header, message, and footer for each field that is empty. This results in a long, confusing page. I want it to look like this:--[header]

You must fill in the following field(s) on the form. Please go back and try again.

[param1]

[footer]--As you can see, I would like it to list the fields that need to be entered in a list, without duplicating the header and footer. Suggestions?Thanks.--------------------------------------------------------- Ken Kohn Chaparral Software & Consulting Services, Inc. 429 Santa Monica Blvd., Suite 230, Santa Monica, CA 90401 310.260.1700 x102 / 310.260.1701 FAX ken@chapsoft.com / www.chapsoft.com Associated Messages, from the most recent to the oldest:

    
  1. Error Messges (Ken Kohn 1997)
I'm attempting to modify my public error messages by changing the ErrorMessages.db file. I am using [include]'s to place my standard header and footer on the page. So far, this works for each message except those which may list more than one value - such as the RequiredField. When leaving more than one required field empty in my order form, the error result (with the [include]'s) lists the header, message, and footer for each field that is empty. This results in a long, confusing page. I want it to look like this:--[header]

You must fill in the following field(s) on the form. Please go back and try again.

[param1]

[footer]--As you can see, I would like it to list the fields that need to be entered in a list, without duplicating the header and footer. Suggestions?Thanks.--------------------------------------------------------- Ken Kohn Chaparral Software & Consulting Services, Inc. 429 Santa Monica Blvd., Suite 230, Santa Monica, CA 90401 310.260.1700 x102 / 310.260.1701 FAX ken@chapsoft.com / www.chapsoft.com Ken Kohn

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:

UPPERCASE (1997) japanese characters (1997) Changing in a founditems tag (1999) Happy New Year (2008) two unique banners on one page (1997) Suddenly can't see files... (2000) Possible Bug in 2.0b15.acgi (1997) Just Testing (1997) [WebDNA] [append] does not add the newline char at the end of (2009) Mac: LModelDirector bug fix (1997) [include] affect on filepaths for links? (1997) Encyption mail (1998) cart converting to scientific notation format (2001) Summing fields (1997) Wrapping text (1998) RE: Languages (1997) WebCatalog for Mac 2.0.1 Released (1997) Proper file locations (1997) [Fwd: Rotating Banners ... (was LinkExchange)] (1997) Max Record length restated as maybe bug (1997)