I got relational mod installed and then try to add autodelte mod and cookie mod without success. The problems are as follows:
Autodelete mod (Automatically removes entries older than a predetermined date):
I added the fields in cfg file
'DateAdded' => [ 6, 'date', 20, 255, 1, &get_date(), ''],
'Removeby' => [7, 'date', 4, 5, 1, '', '']
I added a sentence in sub html_record_form
<INPUT TYPE="TEXT" NAME="Removeby" SIZE="20" VALUE="$rec{'Removeby'}" MAXLENGTH="255">
When I try to add an item to my item db, I get error message saying either not correct date format or length no matter what I input such as 02/07, 02-07 or number of days. Since the max length in the Removeby field is 5, I could not figure out what format of date should I put in that field. (I run it on windows 98)
Cookie mod (by Eli Finkelman) problem:
When I load the login page, I get a runtime error (This error doesnot appear in NS. ):
Line: 72
Error: 'document.form1' is not a object.
If I ignor this error message and continue login and choose cookie to remember my login info, it doesn't work the next time I login in.
Thanks in advance.
Long
Autodelete mod (Automatically removes entries older than a predetermined date):
I added the fields in cfg file
'DateAdded' => [ 6, 'date', 20, 255, 1, &get_date(), ''],
'Removeby' => [7, 'date', 4, 5, 1, '', '']
I added a sentence in sub html_record_form
<INPUT TYPE="TEXT" NAME="Removeby" SIZE="20" VALUE="$rec{'Removeby'}" MAXLENGTH="255">
When I try to add an item to my item db, I get error message saying either not correct date format or length no matter what I input such as 02/07, 02-07 or number of days. Since the max length in the Removeby field is 5, I could not figure out what format of date should I put in that field. (I run it on windows 98)
Cookie mod (by Eli Finkelman) problem:
When I load the login page, I get a runtime error (This error doesnot appear in NS. ):
Line: 72
Error: 'document.form1' is not a object.
If I ignor this error message and continue login and choose cookie to remember my login info, it doesn't work the next time I login in.
Thanks in advance.
Long