Check out the LimeSurvey source code on GitHub!

LSS Format

More
5 years 3 months ago #65910 by endlessloop
Hello i'd like to find a full specification of LSS format (this is intended for development of a program that can pick up a LS survey structure and render it in a non-web interface).

Can sum1 help me?

Tyyy :).

Please Log in to join the conversation.

More
5 years 3 months ago #65949 by Mazi
There are no specifications. It's a simple XML file describing the fields and values for a survey.
This information is read when importing LSS files and storing the according values at the correct tables.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 3 months ago #65976 by endlessloop
So, there's not documentation about the (xml based) format? Damn this will be preety hard for me now :(.

Please Log in to join the conversation.

More
5 years 3 months ago #66041 by Mazi
There is some (outdated) information about the DB layout available here: docs.limesurvey.org/LimeSurvey+1.8+datab...meSurvey+development


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 3 months ago #66236 by endlessloop
Well i checked that file and even when it shows the layout, it doesn't document it ... i have some issues i hope someone can answer me now :$.

I will put DOM Paths of the LSS format i have doubts with:

Where: questions.rows.row and subquestions.rows.row
1) what does same_default node mean?
2) what does question_order node mean?

Where: conditions.rows.row
1) i would like an explanation of the fields.
in method: list of all possible values.
in value: nothing :p.
perhaps i'm wrong with this, but as far as i know ... i see that cqid is the question under the effect of the condition, while qid es the question to pick the value and check if the condition is met. So ... what's the role of cfieldname node, and what's the role of scenario node?

Where: defaultvalues.rows.row
I woulr like to learn everything about it's fields.

Tyvm, help will be really appreciated :$.

Please Log in to join the conversation.

More
5 years 3 months ago #66238 by Mazi
I'll try to answer some of your question, not sure thought if all I write is absolutely correct:

same default: same default value for each language of the survey

question order: those order fields always take care of the order in which elements are shown at the survey or other overviews at the admin backend.

method: might be the comparison operator
value: the value?!

scenarios are used to OR several conditions for the same question

cfieldname: might be the ID of a certain element within a survey to help identifying it when using Javascript based condition evaluation.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"
The following user(s) said Thank You: endlessloop

Please Log in to join the conversation.

More
5 years 3 months ago #66255 by endlessloop
method ... i know what it is but i can't guess how do they code DISTINCT and REGEX method.

value: xDDD i said "nothing" bc i mean "there's no doubt there" :p.

tyvm, you helped me a lot. perhaps, if u're not sure, someone can bring me in this forum a 2nd opinion :$, but AFAIK this seems to be ok and helpful. ty :).

Please Log in to join the conversation.

More
5 years 3 months ago #66268 by Mazi
You're welcome!

If our hints have been helpful and you enjoy limesurvey please consider a donation to the team .
We do all this in our free time and you don't have to pay a penny for this software.

Without your help we can't keep this project alive.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 3 months ago #66301 by endlessloop
if that means that the layout will improve, then (when my economical situation improves) i'll help :).

Please Log in to join the conversation.

More
5 years 3 months ago #66302 by endlessloop

endlessloop wrote: if that means that the layout will improve, then (when my economical situation improves) i'll help :).


(and if i end this limesurvey-related project soon, my situation will improve sooner :p)

Please Log in to join the conversation.

More
5 years 3 months ago #66307 by endlessloop
new questions i have :$

what's the additional_languages field in surveys.rows.row?
what's the purpuse of languages.language nodes?
what's the defaultvalues.rows.row.special_type purpuse?

i will really appreciate the help, i'm stuck :$

Please Log in to join the conversation.

More
5 years 3 months ago #66371 by Mazi

endlessloop wrote: if that means that the layout will improve, then (when my economical situation improves) i'll help :).

What layout are you referring to?


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 3 months ago #66394 by endlessloop
(well ... that was an offtopic comment (the web layout ... sometimes makes the text controls jump to the next line, and some glitches like that ...))

I'm still performing some test-and-error efforts and solved by myself some questions but ... i still don't know the purpose of "special_type" node in defaultvalures.rows.row nodes :(. What's that node used for?

Please Log in to join the conversation.

More
5 years 3 months ago #66414 by Mazi

endlessloop wrote: i still don't know the purpose of "special_type" node in defaultvalures.rows.row nodes :(. What's that node used for?

I can't tell you. Create a survey with different question types and set some default values to check for which question types this row will be filled. Also search teh source code for that string.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 3 months ago #66493 by endlessloop
i would like to know what's the format of VALUE tag in conditions.

i already saw that:
* a blankspace means "no answer"
* a SGQA enclosed by @@ (e.g. @95463X1X1@) means "pick the value from that question"

i would like to know what are the remaining formats (e.g. i saw there's another format like a plus sign before an SGQA (e.g. +95463X1X1) but don't know what those formats mean).

any help with that, will be really appreciated :$.

Please Log in to join the conversation.

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