Express form, how to change the subject?

I’d like to change the subject of the form, the first part is always fixed. Can someone please explain which file to change/duplicate? Thanks!

Hi @Dutchwave - so are you talking about the subject of the email confirmation the form sends out, that’s what you’d like to change?

Hi @EvanCooper. Yes when you enter an optional mailaddress in the field:
Send form submissions to email addresses

You can simply copy the file concrete\mail\block_express_form_submission.php, put it in application\mail\block_express_form_submission.php and modify this line to your liking:

$subject = t(‘Website Form Submission – %s’, $formName);

1 Like