Re: Error handling for accountNum

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 15786
interpreted = N
texte = >>I would like to handle bad cc numbers the same way. Can I eliminate the bad >>cc record from the error messages db & check-sum it myself, then install a >>[showif] to handle it in a similar manner. > >2.1 (in beta now) added a new context called [ValidCard] that >returns true or false based on the checksum validity. You could use >this to roll your own error messages.Cool, that means we don't have to write our own checksum code, we can just call WebCat's internal checksum code from a new context. That's even better than giving us the checksum code directly!Okay, since it's in the 2.1 beta and I've been testing 2.1b5, I'll give it a try, and see what kind of results I get ... :)Sincerely, Ken Grome ken@iav.com 808-737-6499 WebDNA Solutions http://webdna.net/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Error handling for accountNum (Grant Hulbert 1997)
  2. Re: Error handling for accountNum (Pat McCormick 1997)
  3. Re: Error handling for accountNum (Grant Hulbert 1997)
  4. Error handling for accountNum (Pat McCormick 1997)
  5. Re: Error handling for accountNum (Kenneth Grome 1997)
  6. Re: Error handling for accountNum (Kenneth Grome 1997)
>>I would like to handle bad cc numbers the same way. Can I eliminate the bad >>cc record from the error messages db & check-sum it myself, then install a >>[showif] to handle it in a similar manner. > >2.1 (in beta now) added a new context called [validcard] that >returns true or false based on the checksum validity. You could use >this to roll your own error messages.Cool, that means we don't have to write our own checksum code, we can just call WebCat's internal checksum code from a new context. That's even better than giving us the checksum code directly!Okay, since it's in the 2.1 beta and I've been testing 2.1b5, I'll give it a try, and see what kind of results I get ... :)Sincerely, Ken Grome ken@iav.com 808-737-6499 WebDNA Solutions http://webdna.net/ Kenneth Grome

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:

BUG REPORT: numeric ge, le, gr & ls comparisons don't work ... (1999) Hiding HTML and page breaks (1997) SiteGuard Admin Feature ? (1997) RE: Help name our technology! (1997) when is date system date or order date? (1997) WebMerchant Error (1998) Netscape Error Message Document Contains No Data (1998) Math inside [showif] (1998) possible, WebCat2.0 and checkboxes-restated (1997) How to implement 'email to a friend' feature? (2002) [Reload mydata.db] (1998) notification solutions (1997) New Command prefs ... (1997) WAP and IIS server (2002) Re:quit command on NT (1997) Interesting speed comparison .. (2003) authenticate and password (1998) Email within tmpl ? (1997) BBedit prefs (2002) Late on Friday.... brain fried (2002)