Hey there fellow dbman lovers! I have been so frustrated over Carols “More Info” mod that I was just about ready to quit! But then, in a moment of Glory I found what was causing the problem.
If you are trying to use the More Info mod, and you run into email format problem, then try changing
unless ($in{'email'}) {
$message = "You must enter your email address";
}
unless ($in{'$email'} =~ /.+\@.+\.+/){
$message = "<font Color=”red”><b> Your email address is not in the correct format. Please try again.</b></font>."
# }
if ($message) {
&html_more_info_form;
return;
}
TO
unless ($in{'email'}) {
$message = "You must enter your email address";
}
unless ($in{'email'} =~ /.+\@.+\..+/)
{
$message = "<font Color=”red”><b> Your email address is not in the correct format. Please try again.</b></font>."
}
if ($message) {
&html_more_info_form;
return;
}
If you can pick out the difference you have good eyes… but it is there, and it does change the whole thing!
If you are trying to use the More Info mod, and you run into email format problem, then try changing
Code:
sub more_info { unless ($in{'email'}) {
$message = "You must enter your email address";
}
unless ($in{'$email'} =~ /.+\@.+\.+/){
$message = "<font Color=”red”><b> Your email address is not in the correct format. Please try again.</b></font>."
# }
if ($message) {
&html_more_info_form;
return;
}
TO
Code:
sub more_info { unless ($in{'email'}) {
$message = "You must enter your email address";
}
unless ($in{'email'} =~ /.+\@.+\..+/)
{
$message = "<font Color=”red”><b> Your email address is not in the correct format. Please try again.</b></font>."
}
if ($message) {
&html_more_info_form;
return;
}
If you can pick out the difference you have good eyes… but it is there, and it does change the whole thing!