Welcome, Guest
Username: Password: Remember me

TOPIC: Maintaining conditionals when importing question groups?

Maintaining conditionals when importing question groups? 4 months 5 days ago #107581

  • sD960
  • sD960's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 45
  • Thank you received: 1
  • Karma: 0
I am trying to import question groups from someone else's survey (survey B) into my survey (survey A). Both surveys are complex with lots of conditionals. The intention is for survey B to follow survey A, with no conditional logic links from B to A. I imported each of survey B's question groups in their proper order, figuring that survey B's conditionals would be preserved. They were not, or I wouldn't be posting.

Can I import the questions groups from survey B and still maintain survey B's conditionals? I've thought of a possible solution but haven't tried it yet: Move all of survey B's questions into a single group before exporting them, import that single group into survey A, and then re-divide into the original groups. (This would be time-consuming, but not nearly as time-consuming as re-doing all of B's conditionals.)

Help? Thanks!
The administrator has disabled public write access.

Maintaining conditionals when importing question groups? 4 months 17 hours ago #107718

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4118
  • Thank you received: 760
  • Karma: 346
When exporting/importing groups, the question IDs are necessarily changed so any conditions created with the conditions designer will be broken.

If you use relevance and question codes instead of traditional conditions, they will work in the new survey.


.
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.

Maintaining conditionals when importing question groups? 4 months 11 hours ago #107738

  • sD960
  • sD960's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 45
  • Thank you received: 1
  • Karma: 0
Thanks. I've already done the exporting/importing and gone through the soul-killing process of redoing the conditionals in the imported survey, but your info will be helpful if we're ever brave and/or foolhardy enough to collaborate with another group on constructing a survey. Also, it's good to learn how to do stuff behind the scenes.

I think the manual should clearly state that conditionals are not preserved in imported groups. "Alternatively you can import a previously exported group" in the Creating a Group section (manual.limesurvey.org/Creating_a_question_group) doesn't give a hint of that limitation.

Thanks again!

(And yes, we support you folks.)
The administrator has disabled public write access.

Maintaining conditionals when importing question groups? 4 months 11 hours ago #107740

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4118
  • Thank you received: 760
  • Karma: 346
The manual is a wiki so please feel free to update it if you feel that something is missing.
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.
Moderators: ITEd
Time to create page: 0.124 seconds
Donation Image