I have a form set up with multiple file upload fields. Those fields are not required.
Is there any way to hide those fields in the email if they are not used?
Without seeing your processor file I can not make specific suggestions but the basics are:
if($filename) { //do something } else { //do nothing }
Log in to post a comment.
I have a form set up with multiple file upload fields. Those fields are not required.
Is there any way to hide those fields in the email if they are not used?
Without seeing your processor file I can not make specific suggestions but the basics are:
if($filename) {
//do something
} else {
//do nothing
}