View Issue Details

IDProjectCategoryView StatusLast Update
14579Bug reportsPrint Viewpublic2021-02-08 19:09
ReporterRachengold Assigned To 
Status acknowledgedResolutionopen 
Product Version3.15.x 
Summary14579: Export to queXML doesn't show whole answer
DescriptionQuestion-Type: multiple short texts

Printout as quexml pdf shows answers with only 10 small boxes, rest of answer is hidden.
How can I adjust this to show whole answer ?

Target is to get a printout, which can be given away and does not have a technical layout such as export to .pdf / .docx etc. quexml.pdf was the best solution I found, so far.
TagsNo tags attached.
Complete LimeSurvey version number (& build)3.15.19
I will donate to the project if issue is resolvedNo
BrowserFirefox Quantum (65.0)
Database & DB-Version356
Server OS (if known)
Webserver software & version (if known)
PHP Version111


related to 14041 feedback Short text answers in QueXML pdf from Print Answers mode are fixed length of 10 characters 




2019-02-28 09:48


lime.jpg (22,052 bytes)   
lime.jpg (22,052 bytes)   


2019-03-07 16:57

manager   ~50822

Hello @Rachengold.

For this kind of issue, I recommend you to open a post on the forum since it is a printanswer configuration issue.

Could you please attach also an working example there and here?


2019-04-09 09:45

developer   ~51425

Last edited: 2019-04-09 09:49

View 2 revisions

@cdorin : no configuration here, it's a core issue

Reproduce : import included lsa, launch, next, next , print answer export as QueXML

Seems PDF file is too big ?



2019-04-09 09:47

developer   ~51426

@adamzammit : can you have a look ?


2019-04-12 08:28

developer   ~51444


The default type for multiple short text in equivalent queXML is "text" with width 10.

If you would like to adjust this - please see this file:


around line 1642:

                    case "Q": //MULTIPLE SHORT TEXT
                        quexml_create_subQuestions($question, $qid, $sgq, $iResponseID, $fieldmap);
                        $response->appendChild(QueXMLCreateFree("text", quexml_get_lengthth($qid, "maximum_chars", "10"), ""));

replace the line $response->appendChild... with:

                    $response->appendChild(QueXMLCreateFree("longtext", quexml_get_lengthth($qid, "maximum_chars", "10"), ""));

to change the box type to "longtext"


                    $response->appendChild(QueXMLCreateFree("text", quexml_get_lengthth($qid, "maximum_chars", "24"), ""));

to extend the number of characters available to view.

You may need to edit both values and test to see how it turns out for you.


Issue History

Date Modified Username Field Change
2019-02-28 09:48 Rachengold New Issue
2019-02-28 09:48 Rachengold File Added: lime.jpg
2019-03-07 16:57 cdorin Status new => feedback
2019-03-07 16:57 cdorin Note Added: 50822
2019-03-08 17:06 cdorin Relationship added related to 14041
2019-04-09 09:45 DenisChenu File Added: survey_archive_test-QueXML.lsa
2019-04-09 09:45 DenisChenu Note Added: 51425
2019-04-09 09:45 DenisChenu Status feedback => new
2019-04-09 09:47 DenisChenu Note Added: 51426
2019-04-09 09:49 DenisChenu Note Edited: 51425 View Revisions
2019-04-12 08:28 adamzammit Note Added: 51444
2019-11-26 17:47 cdorin Assigned To => cdorin
2019-11-26 17:47 cdorin Status new => assigned
2021-02-08 19:09 cdorin Assigned To cdorin =>
2021-02-08 19:09 cdorin Status assigned => acknowledged