Add into block_form_submission.php
Permalink
Hi,
I would like to add a <b></b> tag in the titles ($questionAnswerPair['question']).
The code of block_form_submission :
<?php
defined('C5_EXECUTE') or die("Access Denied.");
$subject = t('%s Form Submission', $formName);
$submittedData = '';
foreach ($questionAnswerPairs as $questionAnswerPair) {
$submittedData .= $questionAnswerPair['question']."\r\n".$questionAnswerPair['answerDisplay']."\r\n"."\r\n";
}
$formDisplayUrl = URL::to('/dashboard/reports/forms') . '?qsid='.$questionSetId;
$body = t("
There has been a submission of the form %s through your concrete5 website.
%s
To view all of this form's submissions, visit %s
", $formName, $submittedData, $formDisplayUrl);
Is it possible to add an HTML tag in the foreach?
Thank you for your help.
Greetings
I would like to add a <b></b> tag in the titles ($questionAnswerPair['question']).
The code of block_form_submission :
<?php
defined('C5_EXECUTE') or die("Access Denied.");
$subject = t('%s Form Submission', $formName);
$submittedData = '';
foreach ($questionAnswerPairs as $questionAnswerPair) {
$submittedData .= $questionAnswerPair['question']."\r\n".$questionAnswerPair['answerDisplay']."\r\n"."\r\n";
}
$formDisplayUrl = URL::to('/dashboard/reports/forms') . '?qsid='.$questionSetId;
$body = t("
There has been a submission of the form %s through your concrete5 website.
%s
To view all of this form's submissions, visit %s
", $formName, $submittedData, $formDisplayUrl);
Is it possible to add an HTML tag in the foreach?
Thank you for your help.
Greetings