Check out the LimeSurvey source code on GitHub!

Formatting the survey results in the email to survey taker

More
5 years 6 months ago #62431 by libman
New user here. Once again Lime Survey is great.

Is there any way to format the survey results that are sent to a survey taker. The results are not formatted well. Every question and answer is laid out in one long string. It would be nice to see the formatting as follows:

Line 1: <question 1>
Line 2: <question 1 answer 1>
Line 3: <question 1 answer 2>
Line 4: space
Line 5: <question 2>
Line 6: <question 2 answer 1>
Line 7: <question 2 answer 2>
etc...

Is this at all possible? If so, which php file handles this.

Thanks,
Libman

Please Log in to join the conversation.

More
5 years 6 months ago #62447 by tpartner
I don't know whether you can get exactly what you want but the table is generated in index.php, somewhere around line 2168 in 1.91 (search for $ResultTableHTML).

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
5 years 6 months ago #62454 by libman
Are there any programming masters that have the ability to reformat the output and would do this for a fee?

Libman

Please Log in to join the conversation.

More
5 years 6 months ago #62455 by c_schmitz
The detailed notification email can be formatted using CSS. Look at the source of the email template.

Best regards

Carsten Schmitz
LimeSurvey project leader

Please Log in to join the conversation.

More
5 years 6 months ago - 5 years 6 months ago #62458 by libman
I copied a template, which I am using, and is in the upload folder. Which css file am I looking for?

Thanks so much,

Libman
Last Edit: 5 years 6 months ago by libman.

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form