Check out the LimeSurvey source code on GitHub!

can i do this?

More
4 years 11 months ago #75237 by jburgui
Hi, I'm computer science student and I want to use LimeSurvey for part of my project. I am By taking a look at the application and not if I serve.
These would make 4 questions (always the same) for each adjective from a list stored in the database (it's for a psychological study).
As much as I look I see how I can go do a survey taking each adjective, display it, and then his 4 preguntas.He thought I could make a section for each adjective, but the problem is that it only asks each person for 25 random adjectives.

I do not know if I explained well, then I tried to summarize it and my English is not very good. If you do not understand the question I elaborated more.

A greeting.

Please Log in to join the conversation.

More
4 years 11 months ago #75239 by Mazi
Hmm, I do't really understand.

Can you ask this in a simple question?

Can you attach a scren shot/mock up of what you want to do?


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
4 years 11 months ago - 4 years 11 months ago #75245 by jburgui
In my database i have a list of 100 adjectives.
I want to ask 4 questions by adjetive.
And i want to ask about 25 adjetives each person.
the adjective will go changing but the 4 questions are the same.


1.png
Last Edit: 4 years 11 months ago by jburgui.

Please Log in to join the conversation.

More
4 years 11 months ago #75380 by jburgui
please, help!

Please Log in to join the conversation.

More
4 years 11 months ago #75385 by tpartner
How do you intend to import the items from your database? With an AJAX call to a remote PHP script?

I think at the very least you will need to create 25 groups, each containing the 4 questions. You can export/import groups to speed the process.

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
4 years 11 months ago #75418 by jburgui
i want to do this:
www.subirimagenes.com/imagen-1-7486717.html
and the adjective will go changing.
i want show dates (the name of the adjective) of the Basedate in the inquest.
do i can???

Please Log in to join the conversation.

More
4 years 11 months ago #75419 by tpartner
That link is broken

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
4 years 11 months ago - 4 years 11 months ago #75475 by Mazi
Seems to work fine here:



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'"
Attachments:
Last Edit: 4 years 11 months ago by Mazi.

Please Log in to join the conversation.

More
4 years 11 months ago #75488 by jburgui
thank mazi.y could not insert the image.
any suggestions?
editing the template??

Please Log in to join the conversation.

More
4 years 11 months ago #75501 by Mazi
If you want to dynamically load the adjective strings from a database, the only solution would be to code a PHP script which grabs the data from the database and then use an Ajax-Call at the question to load the script and pass back the strings from the script into the question.


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
4 years 11 months ago #75514 by jburgui
ok.thanks.
i will investigate it and will say if i get it done.

Please Log in to join the conversation.

More
4 years 11 months ago #75620 by Mazi

Mazi wrote: If you want to dynamically load the adjective strings from a database, the only solution would be to code a PHP script which grabs the data from the database and then use an Ajax-Call at the question to load the script and pass back the strings from the script into the question.

Here is an example of a project I'm currently working on for a customer of mine. The marked strings are dynamically loaded from DB at survey runtime:



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'"
Attachments:

Please Log in to join the conversation.

More
4 years 11 months ago - 4 years 11 months ago #75822 by jburgui
thanks.but I am new in this.
Could you explain me how to do this?
what code i have to modificate for run a script in the question?

and other thing:
do i can show all the qestions in a section and in other section show one at one??

sorry by my bad English.
Last Edit: 4 years 11 months ago by jburgui.

Please Log in to join the conversation.

More
4 years 11 months ago #75831 by Mazi
Sorry, but we can't offer free support for customized coding. We do all this in our free time which is limited and help for customized coding is just too time expensive.
If you are interested in advanced, paid support, you can drop me a note at marcel.minke(at)limesurvey.org


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
4 years 8 months ago #82194 by jburgui
Hi.
I have been studing it and I know now how to do it.I am doing testing with javascript code in the textbox of the question but i dont get nothing.
I can put the label <javascript> because the label <script> changed me.
I put :

<javascript>document.write('hello')</javascript>

but it show me : document.write('hello')


Is here where i have to put the javascript code??

Please Log in to join the conversation.

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