Hi, if you use askcopy field, after filling the form, a message appear on top of the site: "Sent_copy" both youi check or uncheck askcopyfield, just because there is A askcopy field.
Imho this is an error. "Sent_copy" should be displayed only if user checked askcopy field, so i modified source file p01-contact.php at line 696 where previous was:
$askcopy = True;
now is:
$askcopy =in_array("selected",$value[0]) ? TRUE : FALSE;
so if "selected" is in array value[0] then askcopy is true and Sent_copy is displayed, otherwise askcopy is false and "email sent" is displayed instead.
Hi, if you use askcopy field, after filling the form, a message appear on top of the site: "Sent_copy" both youi check or uncheck askcopyfield, just because there is A askcopy field. Imho this is an error. "Sent_copy" should be displayed only if user checked askcopy field, so i modified source file p01-contact.php at line 696 where previous was: $askcopy = True; now is: $askcopy =in_array("selected",$value[0]) ? TRUE : FALSE; so if "selected" is in array value[0] then askcopy is true and Sent_copy is displayed, otherwise askcopy is false and "email sent" is displayed instead.
Piece of code is in:
Thanks