Form to Email

Permalink
I'm looking for where I can change how the data from a form submitted to an email can be formatted. I need the value to be on one line.

Example:
currently the value shows as the following...

Name:
TJ

I need it to show up in the email for ACT like...

Name: TJ

Thank you in advance for your help

 
SVijay replied on at Permalink Reply
SVijay
Hi,

Change in concrete/mail/form_block_submission.php file on line 6
$submittedData .= $questionAnswerPair['question']."\r\n".$questionAnswerPair['answer']."\r\n"."\r\n";


as

$submittedData .= $questionAnswerPair['question'].":".$questionAnswerPair['answer']."\r\n"."\r\n";
openly replied on at Permalink Reply
openly
Rather than making a core mod like Vijay has suggested it would be better to duplicate the concrete/mail/form_block_submission.php file in mail/form_block_submission.php and make your modification in there.
potys replied on at Permalink Reply
hi, is it possible
to show the email in a table with lines
and/or the Titles to be bold or underlined?
thnxs
charis