- Posts: 15
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Set a default question type for new questions in a survey
- lordzoster
- Topic Author
- Offline
- New Member
Less
More
10 years 2 months ago #103415
by lordzoster
Set a default question type for new questions in a survey was created by lordzoster
Hallo
is there any way to default select a question type in the "Question Types list" for every new question in a survey?
We are going to register hundreds of questions, all of the same type (List - radio)
Thanks in advance
is there any way to default select a question type in the "Question Types list" for every new question in a survey?
We are going to register hundreds of questions, all of the same type (List - radio)
Thanks in advance
The topic has been locked.
- fransmarcelissen
- Offline
- Premium Member
Less
More
- Posts: 118
- Thank you received: 49
10 years 2 months ago #103479
by fransmarcelissen
Replied by fransmarcelissen on topic Set a default question type for new questions in a survey
As far as I know this is not possible. But a way to do this is copying the question XXX times, so that you only have to change the name and the text of the question.
Frans
Frans
The topic has been locked.
- Ben_V
- Offline
- Platinum Member
Less
More
- Posts: 1223
- Thank you received: 351
10 years 2 months ago #103490
by Ben_V
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Replied by Ben_V on topic Set a default question type for new questions in a survey
Hi,
in the file: application/controllers/admin/question.php
(admin/questionhandling.php for older versions)
search (around line 765) :
and change for
/!\ Remember and check your changes after any LS major update
=> For people needing other question types:
Array
Type A: Array (5 point choice)
Type B: Array (10 point choice)
Type C: Array (Yes/No/Uncertain)
Type E: Array (Increase/Same/Decrease)
Type H: Array by column
Type : - Array dual scale
Array (Numbers)
Array (Text)
Mask questions
Type Date
File upload
Type G: Gender
Language switch
Type N: Numerical input
Multiple numerical input
Type R: Ranking
Type X: Text display
Type Y: Yes/No
Equation
Multiple choice questions
Type M: Multiple choice
Multiple choice with comments
Single choice questions
Type 5: 5 point choice
Type !: List (Dropdown)
Type L: List (Radio)
Type O: List with comment
Text questions
Type S: Short free text
Type T: Long free text
Type U: Huge free text
Type Q: Multiple short text
in the file: application/controllers/admin/question.php
(admin/questionhandling.php for older versions)
search (around line 765) :
Code:
$eqrow['type'] = 'T';
Code:
$eqrow['type'] = 'L';
/!\ Remember and check your changes after any LS major update
=> For people needing other question types:
Array
Type A: Array (5 point choice)
Type B: Array (10 point choice)
Type C: Array (Yes/No/Uncertain)
Type E: Array (Increase/Same/Decrease)
Type H: Array by column
Type : - Array dual scale
Array (Numbers)
Array (Text)
Mask questions
Type Date
File upload
Type G: Gender
Language switch
Type N: Numerical input
Multiple numerical input
Type R: Ranking
Type X: Text display
Type Y: Yes/No
Equation
Multiple choice questions
Type M: Multiple choice
Multiple choice with comments
Single choice questions
Type 5: 5 point choice
Type !: List (Dropdown)
Type L: List (Radio)
Type O: List with comment
Text questions
Type S: Short free text
Type T: Long free text
Type U: Huge free text
Type Q: Multiple short text
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The topic has been locked.
- nutspray
- Offline
- New Member
Less
More
- Posts: 10
- Thank you received: 0
6 years 11 months ago #152025
by nutspray
Replied by nutspray on topic Set a default question type for new questions in a survey
Same questions as above, except for configuring the alignment option when uploading an image, so that always goes to left.
Thank you!
Thank you!
The topic has been locked.