Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Set a default question type for new questions in a survey

Set a default question type for new questions in a survey 3 Monate 1 Woche her #103415

  • lordzoster
  • lordzosters Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 29
  • Dank erhalten: 2
  • Karma: 0
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
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Set a default question type for new questions in a survey 3 Monate 6 Tage her #103479

  • fransmarcelissen
  • fransmarcelissens Avatar
  • OFFLINE
  • Expert Lime
  • Beiträge: 118
  • Dank erhalten: 15
  • Karma: 3
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
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Set a default question type for new questions in a survey 3 Monate 6 Tage her #103490

  • Ben_V
  • Ben_Vs Avatar
  • OFFLINE
  • Platinum Lime
  • Beiträge: 933
  • Dank erhalten: 193
  • Karma: 62
Hi,

in the file: application/controllers/admin/question.php
(admin/questionhandling.php for older versions)

search (around line 765) :
$eqrow['type'] = 'T';
and change for
$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 D: 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

goo.gl/Bw5iM => Recherche GG dans le forum français (remplacer "exemple" dans la barre de recherche)
goo.gl/WX8PH => GG search for english forum (Replace "example" in the search bar)
goo.gl/IxiGu => Búsqueda en el foro en español (Cambiar "ejemplo" en la barra de...
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.929 Sekunden
Donation Image