Gossamer Forum
Home : Products : DBMan : Installation :

More than 50 fields?

Quote Reply
More than 50 fields?
I was woking on the default.cfg file, put together the whole list:
%db_def = (
'ID' => [ 0, 'alpha', -1, 255, 0, '', ''],
'user' => [ 1, 'alpha', -1, 255, 0, '', ''],
'start1' => [ 2, 'date', 20, 255, 0, &get_date(), ''],
'start2' => [ 3, 'date', 20, 255, 0, &get_date(), ''],
'start3' => [ 4, 'date', 20, 255, 0, &get_date(), ''],
'start4' => [ 5, 'date', 20, 255, 0, &get_date(), ''],
'start5' => [ 6, 'date', 20, 255, 0, &get_date(), ''],
etc, etc. etc...
up to number 90. I did this with the configurator from jpdeni, so I guess there should not be a problem there. However when entering the information, it only puts in the 'ID' field in the default.db? The db deliminators | are there, but empty

I know there was an article about a person that had the same problem, however I guess through the greatness of the dbmanager program, it must be somewhere in that huge pile of electronic information on the web. I am 99% positive it was jpdeni that wrote that person back.

Quote Reply
Re: More than 50 fields? In reply to
For the "date" fields, add hidden fields in your sub html_record_form routine.

Regards,

Eliot Lee
Quote Reply
Re: More than 50 fields? In reply to
Thanks for the answer, however I found the problem, kind of silly really. For the input fields, I had the wrong config.
Instead of:
<input type="TEXT" name="start1" size="50" value="$rec{'start1'}" maxlength="255">
I used:
<input type="TEXT" name="$rec{'start1'}" size="50" value="$rec{'start1'}" maxlength="255">
So it is kind of kids logic that the result in the database was empty.

Anyway thanks again, problem solved, just hope some other people find this mistake usefull too.

Regards,
Richard