Gossamer Forum
Home : Products : DBMan : Customization :

date translator Mod ? - sub validate record section

Quote Reply
date translator Mod ? - sub validate record section
Hi,

I was adding the date translator mod to my setup tonight. I came to the last section --



sub validate record



and can't find the lines of code I should change in db.cgi



mod says old code is:

### old lines
if ($db_sort{$col} eq "date") {
push (@input_err, "$col (Invalid date format)") unless &date_to_unix($in{$col});
}



Is this code from another mod that I probably haven't implemented yet?



Thanks!
Lynette
Hollister, Ca
Quote Reply
Re: [ltillner] date translator Mod ? - sub validate record section In reply to
It's part of the original db.cgi file.

It's actually: sub validate_record

It's about half way down into that sub.

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/