Re: ErrorMessages.db suggestion

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 15804
interpreted = N
texte = Pat wrote: > >It seems like it might be easier to handle errors I could specify the page I > >wanted to go to in the event of a particular error, along with what variables > >I want to pass to that page.Grant Hulbert wrote: > Gotcha. Most of that is handled already -- the error message text is WebDNA, so if you want to stuff a redirect or an include in there, you can. And you should have a number of form variables as well: try sticking [FormVariables] inside your error message and see what shows up. > > Although I guess I should ask what you're trying to accomplish, because those errors are considered internal WebCatalog things, and maybe there's a better way to handle what you're trying to do.I have my invoice page's form pointed to the same page, until all required fields have data (using showifs) This is graceful because the text at the top originally says 'Please provide the following info' then, if referrer = same page, that text changes to 'Need additional information'The customer never sees a cryptic, grey screen, but rather keeps getting the invoice page, until there's enough data to do the purchase. I want to include [ValidCard] in this process, without going to a different, default error screen like the generic one.Its at www.cwdirect.com. Associated Messages, from the most recent to the oldest:

    
  1. Re: ErrorMessages.db suggestion (Pat McCormick 1997)
  2. Re: ErrorMessages.db suggestion (Grant Hulbert 1997)
  3. Re: ErrorMessages.db suggestion (Pat McCormick 1997)
  4. Re: ErrorMessages.db suggestion (Grant Hulbert 1997)
  5. ErrorMessages.db suggestion (Pat McCormick 1997)
Pat wrote: > >It seems like it might be easier to handle errors I could specify the page I > >wanted to go to in the event of a particular error, along with what variables > >I want to pass to that page.Grant Hulbert wrote: > Gotcha. Most of that is handled already -- the error message text is WebDNA, so if you want to stuff a redirect or an include in there, you can. And you should have a number of form variables as well: try sticking [formvariables] inside your error message and see what shows up. > > Although I guess I should ask what you're trying to accomplish, because those errors are considered internal WebCatalog things, and maybe there's a better way to handle what you're trying to do.I have my invoice page's form pointed to the same page, until all required fields have data (using showifs) This is graceful because the text at the top originally says 'Please provide the following info' then, if referrer = same page, that text changes to 'Need additional information'The customer never sees a cryptic, grey screen, but rather keeps getting the invoice page, until there's enough data to do the purchase. I want to include [validcard] in this process, without going to a different, default error screen like the generic one.Its at www.cwdirect.com. Pat McCormick

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:

FYI: Error message (1996) vs (1997) Help name our technology! (1997) return missing item (was:WebCat Sales) (1997) WebCat2b15MacPlugin - showing [math] (1997) [tcp connect] (1998) Separate SSL Server (1997) Storing dates (was: Ticket Ordering Question) (2003) WC Database Format (1997) Shipping charges based on dollar level (1997) Database Security (1998) returning the missing value (1997) updating with ProductEditor (1998) RE: Formulas.db + Users.db (1997) WebCat2: multiple currency support (1997) Search 1 Field Twice? (2004) WCS Newbie question (1997) Banners (1997) Replace Statement (1997) Nationality (2003)