View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|14579||Bug reports||Print View||public||2019-02-28 09:48||2021-02-08 19:09|
|Summary||14579: Export to queXML doesn't show whole answer|
|Description||Question-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.
|Tags||No tags attached.|
|Complete LimeSurvey version number (& build)||3.15.19|
|I will donate to the project if issue is resolved||No|
|Browser||Firefox Quantum (65.0)|
|Database & DB-Version||356|
|Server OS (if known)|
|Webserver software & version (if known)|
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?
@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 ? https://framadrop.org/r/7HP5XpjD4c#PD92yJ9GhGQ9k8ZmSVL8XeISYJCgCTFG26BfYMfWaG8=
survey_archive_test-QueXML.lsa (4,132 bytes)
|@adamzammit : can you have a look ?|
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.
|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|