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 canjust call WebCat's internal checksum code from a new context. That'seven 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'llgive it a try, and see what kind of results I get ... :)Sincerely,Ken Gromeken@iav.com808-737-6499WebDNA Solutionshttp://webdna.net/
Associated Messages, from the most recent to the oldest:
>>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 canjust call WebCat's internal checksum code from a new context. That'seven 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'llgive it a try, and see what kind of results I get ... :)Sincerely,Ken Gromeken@iav.com808-737-6499WebDNA Solutionshttp://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)