Hello. Relatively new at this -- new to cgi, html -- the whole shebang -- but everything is working out. I do need help with one thing tho...
In my add form, (add.html), I've added a drop down field select for any of 65 country names. I need to load the database not only with the country name but also with a number that corresponds to that country (001 to 200).
My definitions for the two fields (in links.def):
Country => [10, 'numer', 5, 8, 0, '167', ''],
Countryname => [11, 'alpha', 60, 60, 1, '', ''],
The add form is working as it should. But need the best way to get the corresponding number variable into the database at the same time as the country name.
(The number corresponds to .gif images for the country that will appear on the links pages, e.g., 167.gif for the US.)(I'm using templates.)
Any help with this would be appreaciated.
Thanks,
jdean
In my add form, (add.html), I've added a drop down field select for any of 65 country names. I need to load the database not only with the country name but also with a number that corresponds to that country (001 to 200).
My definitions for the two fields (in links.def):
Country => [10, 'numer', 5, 8, 0, '167', ''],
Countryname => [11, 'alpha', 60, 60, 1, '', ''],
The add form is working as it should. But need the best way to get the corresponding number variable into the database at the same time as the country name.
(The number corresponds to .gif images for the country that will appear on the links pages, e.g., 167.gif for the US.)(I'm using templates.)
Any help with this would be appreaciated.
Thanks,
jdean