Creating and editing a question
This form is used to editing poll questions. Upon making the required changes, do not forget to click Save.
Context bar
Button |
Description |
List |
Opens a list of questions of the current poll (e.g. the poll to which the current question belongs). |
Create |
Creates a new question in the current poll. |
Delete |
Deletes the current question. |
"Properties" tab
Field |
Description |
Channel |
The channel to which the poll containing the current question belongs. |
Poll |
The poll to which the current question belongs. |
Modified |
Date of changing a record in the database. |
How many times this question was answered |
Number of answers. |
Active |
Indicates the question is active. |
Sorting |
The question sorting index. |
Include in the result chart |
Indicates the question is included in the diagram of poll results. |
Result display template |
A PHP script file to be used as a template for displaying the resulting diagram for
the current question. |
Image |
An image for the question to be loaded from the local computer in the
following formats: jpg, bmp, ,jpeg, jpe, gif, png. |
"Question" tab
Field |
Description |
Question |
The text of the question. |
"Answers" tab
ID |
Message |
Field type |
Width |
Height |
Parameters |
Sorting |
Color |
Active |
Del. |
|
[1] |
[2] |
[3] |
[4] |
[5] |
[6] |
[7] |
[8] |
[9] |
[10] |
[11] |
- The ID of the answer variant in the database.
- The text to be displayed beside to the answer.
- Field type.
- radio button – only one
variant can be selected from the group of answers;
- checkbox – more than one variants can be selected;
- dropdown – a list from which you can select only one
variant; all the elements of this type will be displayed as a
dropdown list;
- multiselect – a list from which you can select several
variants; all the elements of this type will be displayed in a list;
- text – a one-string field where you can type your
answer;
- textarea – a multi-string field where you can type your
answer.
- For different controls, this field has different meaning:
- radio, checkbox, dropdown, multiselect – not applicable;
- text – attribute
size
of the tag <input type=text>
- textarea – attribute
cols
of the tag <textarea>
- For different controls, this field has different meaning:
- text, radio, checkbox, dropdown, multiselect – not applicable;
- multiselect – attribute
size
of the tag <select multiple>
- textarea – attribute
rows
of the tag <textarea>
- Additional parameters of the
input
tag: style, class. For example, style="width:100%"
.
- The sorting index which is used when displaying the answer in the poll form and in the resulting
diagram.
- Color of a diagram element (to select the required color, click the
square box to the right of the field).
- Indicates the question is active.
- Option: if selected, the answer variant will be deleted upon save.
- Popularity of the current answer variant for the poll (used for diagram
drawing).