Hi,
I've added two new fields (city, missing_location) to my links table and the add.html. But when data is entered in the add.html it is not actually being transfered to the database. The rest of the add process works, and when I validate the link I can add these lost fields. But I don't know why the data for these new fields is being lost.
Should the %db_def in Links.def match the %db_def in Validate.def? I believe this may be causing the problem since my two new fields are not listed in Validate.def Here's the last few lines of each:
Links.def
%db_def = (
ReceiveMail => ['15', 'CHAR', '0', '3', '0', 'No', 'Yes|No', '0'],
city => ['16', 'CHAR', '25', '35', '0', '', '', '2'],
missing_location => ['17', 'CHAR', '35', '45', '0', '', '', '0']
);
Validate.def
%db_def = (
ReceiveMail => ['16', 'CHAR', '0', '3', '1', 'Yes', 'Yes|No'],
Mode => ['17', 'CHAR', '0', '8', '1', 'Validate', 'Validate|Modify']
);
If they do need to be in sequence, is it possible to initialize the Validate.def so that it reconfigures itself?
Any advice is greatly appreciated.
I've added two new fields (city, missing_location) to my links table and the add.html. But when data is entered in the add.html it is not actually being transfered to the database. The rest of the add process works, and when I validate the link I can add these lost fields. But I don't know why the data for these new fields is being lost.
Should the %db_def in Links.def match the %db_def in Validate.def? I believe this may be causing the problem since my two new fields are not listed in Validate.def Here's the last few lines of each:
Links.def
%db_def = (
ReceiveMail => ['15', 'CHAR', '0', '3', '0', 'No', 'Yes|No', '0'],
city => ['16', 'CHAR', '25', '35', '0', '', '', '2'],
missing_location => ['17', 'CHAR', '35', '45', '0', '', '', '0']
);
Validate.def
%db_def = (
ReceiveMail => ['16', 'CHAR', '0', '3', '1', 'Yes', 'Yes|No'],
Mode => ['17', 'CHAR', '0', '8', '1', 'Validate', 'Validate|Modify']
);
If they do need to be in sequence, is it possible to initialize the Validate.def so that it reconfigures itself?
Any advice is greatly appreciated.