Welcome, Guest
Username: Password: Remember me

TOPIC: hidden fields are not saved to database in v1.92+

hidden fields are not saved to database in v1.92+ 2 years 7 months ago #76962

  • MPIDR
  • MPIDR's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 17
  • Karma: 0
In order to set pre-defined values that also need to be saved in the database, I have some hidden questions with default answers.

These values are not saved to the database anymore in v1.92. Can somebody please check and confirm?

Regards
MPIDR
Last Edit: 2 years 7 months ago by MPIDR.
The administrator has disabled public write access.

Re: hidden fields are not saved to database in v1.92+ 2 years 7 months ago #76970

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4264
  • Thank you received: 801
  • Karma: 368
Er... could you give us more details?

How did you hide the questions?

How did you set the default answers?
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 administrator has disabled public write access.

Aw: Re: hidden fields are not saved to database in v1.92+ 2 years 7 months ago #76972

  • MPIDR
  • MPIDR's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 17
  • Karma: 0
The question has been hidden by setting the advanced option "Always hide this question" to Yes.

The question itself is a dropdown list with one answer option. This option has been set as default answer.

It was working in v1.91 but not anymore in 1.92 build 120314 and 120319.

As a workaround, I am currently testing this JavaScript and it seems to work.

$("#question34").css({
'display': 'none'
});

However, this is just a quick try and nothing I want to use for my entire survey.

Please let me know in case you need more details.

Regards
MPIDR
The administrator has disabled public write access.

Re: Aw: Re: hidden fields are not saved to database in v1.92+ 2 years 7 months ago #76974

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4264
  • Thank you received: 801
  • Karma: 368
Okay, that sounds like a bug.

Please file a bug report and...

1. Give as much information as possible.

2. Provide step-by-step instructions how to reproduce the problem.

3. Provide a sample survey if possible.

4. Post the link to the bug here so we can follow the progress.

Your workaround should work fine in the meantime.
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 administrator has disabled public write access.

Aw: Re: Aw: Re: hidden fields are not saved to database in v1.92+ 2 years 7 months ago #76975

  • MPIDR
  • MPIDR's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 17
  • Karma: 0
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.097 seconds
Donation Image