Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: How can i show only N questions of one grp?

How can i show only N questions of one grp? 5 years 1 month ago #54346

  • willyx
  • willyx's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 13
  • Karma: 0
I've removed the java code, build a new survey but i'm unable to use teh survey, it give to me the cookies error:(

Also if i go in response data entry screen i get :
Parse error: syntax error, unexpected T_ELSEIF in /web/htdocs/www.insomnia-guild.it/home/torre/admin/dataentry.php on line 429
Last Edit: 5 years 1 month ago by willyx.
The topic has been locked.

How can i show only N questions of one grp? 5 years 1 month ago #54348

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5400
  • Thank you received: 1149
  • Karma: 477
I don't believe that either of hese bugs are caused by the JavaScript. It is strictly client-side and only acts on the current page so cannot affect sessions or control the display of other groups.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The topic has been locked.

How can i show only N questions of one grp? 5 years 1 month ago #54350

  • willyx
  • willyx's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 13
  • Karma: 0
Deleted all files, tables reinstalled, build a new survey, same error when activated...the only stuff left is config.php :(
The topic has been locked.

How can i show only N questions of one grp? 5 years 1 month ago #54388

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5400
  • Thank you received: 1149
  • Karma: 477
What exactly is the error? Can you post the contents of your config.php (removing passwords)?
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The topic has been locked.

How can i show only N questions of one grp? 5 years 1 month ago #54424

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5835
  • Thank you received: 347
  • Karma: 261
Try to re-upload all files in binary mode. The error message "Parse error: syntax error, unexpected T_ELSEIF in /web/htdocs/www.insomnia-guild.it/home/torre/admin/dataentry.php on line 429" points to a broken/incomplete file upload.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The topic has been locked.

How can i show only N questions of one grp? 5 years 3 weeks ago #54946

  • willyx
  • willyx's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 13
  • Karma: 0
tryed the last RC1, but i've the same big problem :(
I can preview my survey, but if i enable it i get:
ERRORE
Spiacenti ma la sessione è scaduta.
O sei stato troppo a lungo inattivo o hai disabilitato i cookies nel tuo browser oppure hai avuto problemi con la tua connessione di rete.
Per favore contatta 'Your Name' ('This email address is being protected from spambots. You need JavaScript enabled to view it.') per ulteriore assistenza.

Somethink like "sorry, your session is expired. bla bla bla...disable cookies bla bla"
I get this error for every survey i create. I've deleted all files and used last rc1, but no luck, there is somithing wrong in the database :(
Time ago i've tryed to delete the database and import my survey, but same problem. I've forgot to test before the import :(
Any idea? maybe i should delete the database , try a new survey and if doesn't work post here the import file of my survey
If someone want to try, here the link:
www.insomnia-guild.it/torre/
Last Edit: 5 years 3 weeks ago by willyx.
The topic has been locked.

How can i show only N questions of one grp? 5 years 3 weeks ago #54947

  • c_schmitz
  • c_schmitz's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 915
  • Thank you received: 131
  • Karma: 96
Try cleaning out your cookies.
Best regards

Carsten Schmitz
LimeSurvey project leader
The topic has been locked.

How can i show only N questions of one grp? 5 years 3 weeks ago #54948

  • willyx
  • willyx's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 13
  • Karma: 0
Isn't a cookies problem...i've used 3 different broswer and another PC.
Try the link of the survey, it show only the wecome page then the error
The topic has been locked.

How can i show only N questions of one grp? 5 years 3 weeks ago #54949

  • c_schmitz
  • c_schmitz's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 915
  • Thank you received: 131
  • Karma: 96
Yeah I see.
This issue will be fixed in the RC2, which will be released tomorrow.
Best regards

Carsten Schmitz
LimeSurvey project leader
The topic has been locked.

How can i show only N questions of one grp? 5 years 3 weeks ago #54966

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5835
  • Thank you received: 347
  • Karma: 261
Please test if this is solved at the latest RC2 version.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The topic has been locked.

How can i show only N questions of one grp? 5 years 3 weeks ago #55016

  • willyx
  • willyx's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 13
  • Karma: 0
no sorry, doesn't work :(

Versione 1.91RC2 Build 9672

U can test id as admin if u want, default passw
The topic has been locked.

How can i show only N questions of one grp? 2 years 5 months ago #99202

  • Denni
  • Denni's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
Hey, I also need to show only one question within a question group. Therefore I used following code as suggested in the description of the question group: <script type="text/javascript" charset="utf-8">

$(document).ready(function() {

showQuestions(1);

function showQuestions(showNum) {

$('div[id^="question"]').hide();
$('div[id^="question"]').each(function(i) {
if (i < showNum) {
$(this).show();

Also I enabled Java. But all the questions in the question group appear :( What could be my mistake? Do I need to use/fill in the field "randomization group"? Any help would be largely appreciated!!
The topic has been locked.

How can i show only N questions of one grp? 2 years 5 months ago #99234

  • DenisChenu
  • DenisChenu's Avatar
  • Online
  • Moderator Lime
  • Posts: 8195
  • Thank you received: 1117
  • Karma: 331
Denni : 2 years ago, LimeSUrvey version is 1.91. Now it's 2.0.

Please : make a new topic. I close this one ....
The topic has been locked.

How can i show only N questions of one grp? 2 years 5 months ago #99237

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5835
  • Thank you received: 347
  • Karma: 261
Denni wrote:
Hey, I also need to show only one question within a question group.
Hi Denni,

If you want to randomly show 1 of X questions of a question group, have a look at this tutorial:
"How to randomly show 1 of X questions at a Limesurvey survey"

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The topic has been locked.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.436 seconds