Gossamer Forum
Home : Products : DBMan : Discussions :

check boxes in config file?

Quote Reply
check boxes in config file?
Hi, I'm having a problem getting my config file to work (the db_def is below), as whenever I try to create a new record, dbman errors back to me that it is unable to be added, "Bios (Too long. Max length: 3)". Even when I comment out that particular line (#9 of the db_deb) it just goes to the next one, i.e. #10, and so on. Is there a breakdown in my config for items in the double-digits?

What am I doing wrong? I've made sure that there are no stray commas/quotes missing, etc.

tia, Neal

------------
%db_def = (
'Issue' => [0, 'numer', 5, 8, 1, '', ''],
'Nickname' => [1, 'alpha', 40, 255, 0, '', ''],
'URL' => [2, 'alpha', 40, 255, 1, 'http://', '^http://'],
'Date' => [3, 'date', 12, 15, 1, &get_date, ''],
'Names' => [4, 'alpha', '40x3', 255, 0, '', ''],
'Articles' => [5, 'alpha', '40x3', 255, 0, '', ''],
'Email' => [6, 'alpha', 0, 3, 0, '', ''],
'Rough' => [7, 'alpha', 0, 3, 0, '', ''],
'Smooth' => [8, 'alpha', 0, 3, 0, '', ''],
'Bios' => [9, 'alpha', 0, 3, 0, '', ''],
'Database' => [10, 'alpha', 0, 3, 0, '', ''],
'Indexed' => [11, 'alpha', 0, 3, 0, '', ''],
'Comments' => [12, 'alpha', '40x3', 255, 0, '', '']
);


Subject Author Views Date
Thread check boxes in config file? nmagee 2781 Dec 20, 2000, 8:45 AM
Thread Re: check boxes in config file?
AstroBoy 2700 Dec 20, 2000, 2:21 PM
Thread Re: check boxes in config file?
nmagee 2687 Dec 24, 2000, 6:07 AM
Post Re: check boxes in config file?
nmagee 2687 Dec 24, 2000, 6:41 AM