# if there is no value provided but a default value in parameters, get it
if ($value eq '') {
$value = $tagslib->{$tag}->{$subfield}->{defaultvalue} if !$cgi->param('authid'); # only for new records
$value = $tagslib->{$tag}->{$subfield}->{defaultvalue} if !$cgi->param('authid') && !$cgi->param('breedingid');
# only for new records, not for imports
if (!defined $value) {
$value = q{};
}
-