how to edit question type of active survey?

More
1 year 8 months ago #155933 by kimberhos
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
1 year 1 month ago #162064 by ciphr
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
1 year 1 month ago #162065 by holch
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
1 year 1 month ago #162068 by ciphr
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
1 year 1 month ago - 1 year 1 month ago #162070 by ciphr
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: 1 year 1 month ago by ciphr.

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

More
1 year 1 month ago - 1 year 1 month ago #162079 by tpartner
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: 1 year 1 month ago by tpartner.

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

More
1 year 1 month ago #162083 by ciphr
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
1 year 1 month ago #162084 by tpartner
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!