x

Glavna poglavja

  1. LimeSurvey Cloud proti LimeSurvey CE
  2. LimeSurvey Cloud – Hitri vodnik
  3. LimeSurvey CE - Montaža
  4. Kako oblikovati dobro anketo (Vodnik)
  5. Začetek
  6. Konfiguracija LimeSurvey
  7. Uvod - Ankete
  8. Oglejte si nastavitve ankete
  9. Ogled menija ankete
  10. Oglejte si strukturo ankete
  11. Uvod - Vprašanja
  12. Uvod – skupine vprašanj
  13. Uvod – Ankete – Upravljanje
  14. Možnosti orodne vrstice ankete
  15. Večjezična anketa
  16. Vodnik za hitri začetek - ExpressionScript
  17. Napredne funkcije
  18. Splošna pogosta vprašanja
  19. Odpravljanje težav
  20. Rešitve
  21. Licenca
  22. Dnevnik sprememb različice
  23. Vtičniki – napredno
 Actions

Identifikator SGQA

From LimeSurvey Manual

Revision as of 08:41, 13 December 2023 by Maren.fritz (talk | contribs) (Created page with "=Identifikator za vprašanja z eno izbiro=")


Opomba: SGQA identifikatorji in INSERTANS: kode ne bodo več na voljo za uporabo v LimeSurvey 4 znotraj izrazov. Namesto tega uporabite ExpressionScript združljive kode vprašanj. Oglejte si naslednjo povezavo za konvencije poimenovanja.


'Namig: Ta stran opisuje, kako lahko najdete identifikator SGQA. Za informacije o uporabi si oglejte stran Dodajanje vprašanja.


Splošni opis

Identifikator SGQA (Anketa/Skupina/Vprašanje/Odgovor) je bližnjica do odgovora na vprašanje. Vsaka anketa, skupina in vprašanje, ki ga ustvarite, dobi edinstveno številko, dodeljeno v vaši bazi podatkov. To številko lahko vidite v skrbniškem vmesniku v naslovu ankete, skupine in vrstici z vprašanji (npr. spodaj glejte stolpec »id vprašanja«)



Če želite določiti identifikator SGQA, morate vnesti številke ankete, skupine in vprašanja skupaj s črko 'X' vmes. Npr. SGQA bi moral izgledati takole: "745X35X5".


Opomba: Vedno uporabljajte velike črke ("X" namesto "x")!


Za dodajanje nadomestnega mesta uporabite urejevalnik

Vgrajeni urejevalnik ima funkcijo, s katero lahko izberete ogrado za določeno vprašanje. Ikona se imenuje "Polja za umestitev". Ta funkcija vedno navede samo vprašanja prejšnjih strani ankete, tako da je odvisna od načina ankete.




Identifikator za vprašanja z eno izbiro

For example: survey has ID 1, Group has ID 6, Question has ID 12. Your identifier for a single choice question would look like this:

1X6X12


Identifier for Multiple Choice Questions

Since it is a multiple choice question the particular answer must be identified too. Just add the code of that answer without an X. For example: Survey has ID 1, Group has ID 6, Question has ID 12. The particular answer has code 'ber1'.

Your identifier for this multiple choice question answer would look like this:

1X6X12ber1


Identifier for Array question types

Since it is a array question, the particular subquestion within the cell must be identified too. Add the subquestion code of the row without an X. For example: Survey has ID 1, Group has ID 6, Question has ID 12. The particular subquestion has code 'ber1'. Your identifier for this "Array" question answer would look like this:

1X6X12ber1


Identifier for Array (Text) or Array (Number) Questions

Since it is a combined array question, the particular answer within the cell must be identified too. Add the subquestion code of the row without an X, then append the underscore char and finally add the subquestion code that indentifies the column. For example: Survey has ID 1, Group has ID 6, Question has ID 12. The particular subquestion has code 'ber1', and the column is identified by the subquestion with code 'lab1'

Your identifier for this "Array (Text)" question answer would look like this:

1X6X12ber1_lab1


Uses of the SGQA identifier

The SGQA identifier can be used to load the answers of previously saved questions into the question text of later questions (for a short guide, see the introduction wiki section on questions).

It can also be used in the query URL of a survey to "prefill" answers to a survey. E.g., for SGQA 1X6X121ab1, your query URL could include "&1X6X121ab1=Y" to prefill that answer with a "Y". (See Prefilling survey answers using the survey URL)


For more details on URL fields, check the following wiki section.


The SGQA identifier is also the field name where the data for each question is stored in the database/survey responses table.


Dynamically reference the SGQ identifier

Some people may find a need to reference a question dynamically. For instance, if you would like to hide the input text field of a short text answer. You can now do this (as of SVN build 9755) by using the {SGQ} identifier. LimeSurvey will replace the {SGQ} with the full ID of that question, e.g., 3583X84X249