how to edit question type of active survey?

More
1 year 5 months ago #155933 by kimberhos
kimberhos created the topic: how to edit question type of active survey?
I want to change qid 199 question type from * to S. S means short text type.
Then I edit mysql lime_questions table, update qid 199 type to S, but doesn't work.
anyelse should i edit?
The following user(s) said Thank You: ciphr

Please Log in or Create an account to join the conversation.

More
10 months 3 weeks ago #162064 by ciphr
ciphr replied the topic: how to edit question type of active survey?
Id also like some info on how to change a question type from 'multiple choice' to 'choose only one answer'

Please Log in or Create an account to join the conversation.

More
10 months 3 weeks ago #162065 by holch
holch replied the topic: how to edit question type of active survey?
Backup data --> Deactivate survey --> Change Questio type

You probably won't be able to reimport the previous answers, because due to the different question type the older responses are not compatible with the database anymore.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds
The following user(s) said Thank You: ciphr

Please Log in or Create an account to join the conversation.

More
10 months 3 weeks ago #162068 by ciphr
ciphr replied the topic: how to edit question type of active survey?
Or more specifically when a particular answer is selected the other questions will not be selectable

Please Log in or Create an account to join the conversation.

More
10 months 3 weeks ago - 10 months 3 weeks ago #162070 by ciphr
ciphr replied the topic: how to edit question type of active survey?
Hey, Thanks holch. It is awesome that you are responding to people man, Thanks. Isn't there a way to use JavaScript to control on-clicks events for multiple choice questions within LimeSurvey? Where would I apply this javascript?...In the editor of the subquestion maybe?
Last Edit: 10 months 3 weeks ago by ciphr.

Please Log in or Create an account to join the conversation.

More
10 months 2 weeks ago - 10 months 2 weeks ago #162079 by tpartner
tpartner replied the topic: how to edit question type of active survey?
Here is some documentation on how to use JavaScript in a survey - manual.limesurvey.org/Workarounds:_Manip...tc..29_in_LimeSurvey

I cannot give further advice without some specifics on what behaviour you want to achieve.

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last Edit: 10 months 2 weeks ago by tpartner.

Please Log in or Create an account to join the conversation.

More
10 months 2 weeks ago #162083 by ciphr
ciphr replied the topic: how to edit question type of active survey?
Well at the moment I have a multiple choice question in a live survey (e.g. Q10) and I am unable to change the type because the survey is currently active. The question is as follows:

Have you been employed for the last 6 months? Please select all that apply.

- Employed/working 5 or more days per week

- Employed/working 4 or fewer days per week

- Going to school/studying

- Too ill/sick to work

- Handicapped, cannot work

- Housework/ childcare

- Something Else

- Do not want to answer

These subquestions are multiple choice, so users can choose one or choose all of them. But what id like to do is, If the user chooses the last one (DO NOT WANT TO ANSWER) I want every other option that is selected to DESELECT all checkboxes. I don't know if Javascript or Jquery can be implemented in that manner in a subquestion edit box or not. I was thinking an onclick event or something along those lines.

Thanks for any feedback that you could provide
CiPHR Team

Please Log in or Create an account to join the conversation.

More
10 months 2 weeks ago #162084 by tpartner
tpartner replied the topic: how to edit question type of active survey?
There is an exclusive option setting available - manual.limesurvey.org/Question_type_-_Mu...xclude_all_others.29

If you don't like that, here is a JavaScript solution - www.limesurvey.org/forum/can-i-do-this-w...-checkboxes?start=15

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

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!