queXML hiding question numbers

Asked by wobobo83 on 2016-07-04

Dear Adam,

today I've upgraded queXML to the latest revision 135 and everything works great, but I have two problems which I can't resolve so I want to ask for your help.

1) BASE AND INSTALLATION

As Linux Server base I use "TurnKey GNU/Linux LAMP Stack - Web Stack (MySQL)" using a streamable OVA image within VirtualBox [1]. For the installation of queXML (upgraded to revision 135 from version 1.5.0) and queXF (version 1.18.0) I used the installation guide from Steve [2].

2) PROBLEMS

Is it possible to hide the question numbers (eg. A1, A2, A3 ... B1, B2 ...) upon the generated pdf documents for the following cases:

2.A) HIDE ALL QUESTION NUMBERS

I want to hide all question numbers for the whole questionnaire and within all sections.

2.B) HIDE ALL QUESTION NUMBERS OF A SECTION

I want to hide the question numbers of only one section.

Thanks for your help.
best regards
--
WEBLINKS:
[1] https://www.turnkeylinux.org/lampstack
[2] https://sandilands.info/sgordon/using-quexf-in-ubuntu-for-questionnaires

Question information

Language:
English Edit question
Status:
Solved
For:
queXML Edit question
Assignee:
No assignee Edit question
Solved by:
Adam Zammit
Solved:
2016-07-11
Last query:
2016-07-11
Last reply:
2016-07-07
Best Adam Zammit (adamzammit) said : #1

To hide the question numbers you can add the attribute:

hidetitle=true

to the <question> attribute in the queXML document.

If you want to hide for the whole questionnaire - have a look at the code in quexmlpdf.php around line 2599 in the createQuestion function - probably easiest just to modify the code for this.

To hide numbers in one section only - again you could add the hidetitle attribute to all questions in the queXML document - alternatively edit the quexmlpdf.php code around line 2599 to handle this.

wobobo83 (drachemailbox-web) said : #2

Dear Adam,
thanks for your fast response.
After adding the attribute everything works right: the question numbers are "hidden".
Thanks for your help.
best regards

PS: A list with all attributes would be great since most of them are unknown for me (or undocumented). Yesterday I've learned another one from another post: the rotate="true" attribute for <fixed> answers simply rotates the answer from vertical to horizontal.

Adam Zammit (adamzammit) said : #3

The hidetitle attribute is currently not documented. The "rotate" attribute is documented inside the quexml.xsd file.

I have created a bug to add documentation for this attribute. Thanks for letting me know.