This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:create:inputs-custom [15.01.2015 19:59] – alexander.ritter | en:create:inputs-custom [17.03.2021 20:46] (current) – [Implementation] sophia.schauer | ||
---|---|---|---|
Line 13: | Line 13: | ||
HTML form elements (e.g. text input fields, checkboxes, drop-downs) can be programmed quickly: the essentials can be found on [[http:// | HTML form elements (e.g. text input fields, checkboxes, drop-downs) can be programmed quickly: the essentials can be found on [[http:// | ||
- | The problem is that SoSci Survey does not initially recognize any form elements and the data they transmit, and as a result it does not save the responses. Therefore, it is advisable to inform SoSci Survey that certain POST variables should be read and saved in the data record. [[: | + | The problem is that SoSci Survey does not initially recognize any form elements and the data they transmit, and as a result it does not save the responses. Therefore, it is advisable to inform SoSci Survey that certain POST variables should be read and saved in the data record. [[: |
===== Implementation ===== | ===== Implementation ===== | ||
- | * First of all, create a question with the type //Internal Variables// in the **List of Questions**. | + | * First of all, create a question with the type //[[: |
* Add at least one variable (item) to this question. It makes sense to give the variable a label: although this does not appear in the questionnaire, | * Add at least one variable (item) to this question. It makes sense to give the variable a label: although this does not appear in the questionnaire, | ||
* Create a new text element in **Text Elements and Labels**. In principle, you can insert the HTML code for the form element directly into the questionnaire, | * Create a new text element in **Text Elements and Labels**. In principle, you can insert the HTML code for the form element directly into the questionnaire, |